CVS log for pvfs2/src/server/statfs.sm

(logo)

Help

(back) Up to [PVFS2] / pvfs2 / src / server

Request diff between arbitrary revisions / Display revisions graphically


Default branch: MAIN
Bookmark a link to: HEAD / (download)

Revision 1.17.20.1 / (view) - annotate - [select for diffs] , Fri Nov 4 20:40:47 2011 UTC (6 months, 2 weeks ago) by sampson
Branch: Orange-Branch
CVS Tags: Orange-security-postmerge
Changes since 1.17: +11 -0 lines
Diff to previous 1.17
Merged robust security code into Orange-Branch.

Revision 1.17.76.4 / (view) - annotate - [select for diffs] , Sat Jul 9 12:43:58 2011 UTC (10 months, 1 week ago) by mtmoore
Branch: orange-next
Changes since 1.17.76.3: +23 -19 lines
Diff to previous 1.17.76.3 to branch point 1.17
checkpoint, transition to uuids

Revision 1.17.76.3 / (view) - annotate - [select for diffs] , Sat Jul 9 03:17:04 2011 UTC (10 months, 1 week ago) by mtmoore
Branch: orange-next
Changes since 1.17.76.2: +1 -1 lines
Diff to previous 1.17.76.2 to branch point 1.17
changes to PVFS_handle_X

Revision 1.17.76.2 / (view) - annotate - [select for diffs] , Thu Jul 7 15:04:31 2011 UTC (10 months, 2 weeks ago) by mtmoore
Branch: orange-next
Changes since 1.17.76.1: +1 -1 lines
Diff to previous 1.17.76.1 to branch point 1.17
change to #defined calls to uuids

Revision 1.17.76.1 / (view) - annotate - [select for diffs] , Tue Jul 5 19:03:16 2011 UTC (10 months, 2 weeks ago) by mtmoore
Branch: orange-next
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
migrate from uint64_t type assignments to uuids

Revision 1.17.18.1 / (view) - annotate - [select for diffs] , Fri Apr 17 19:18:27 2009 UTC (3 years, 1 month ago) by slang
Branch: solaris-branch
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
initial support for solaris.  doesn't include /dev/epoll support.  See trac ticket #97.

Revision 1.13.28.1 / (view) - annotate - [select for diffs] , Mon Jul 21 18:18:15 2008 UTC (3 years, 10 months ago) by aching
Branch: locking-branch
Changes since 1.13: +26 -17 lines
Diff to previous 1.13 to next main 1.14
Reverse merged and ported to HEAD.

Revision 1.17.2.3 / (view) - annotate - [select for diffs] , Sat Jun 14 22:44:45 2008 UTC (3 years, 11 months ago) by nlmills
Branch: cu-security-branch
CVS Tags: from_HEAD_NEW_FEATURE_ADD3, cu-security-branch-premerge
Changes since 1.17.2.2: +1 -4 lines
Diff to previous 1.17.2.2 to branch point 1.17
state machine permission checking code cleanup

Revision 1.17.2.2 / (view) - annotate - [select for diffs] , Fri Jun 13 19:49:58 2008 UTC (3 years, 11 months ago) by dbonnie
Branch: cu-security-branch
Changes since 1.17.2.1: +14 -1 lines
Diff to previous 1.17.2.1 to branch point 1.17
Updated security checking in state machines.  Added flags where needed.

Revision 1.17.2.1 / (view) - annotate - [select for diffs] , Thu Jun 5 23:17:49 2008 UTC (3 years, 11 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.17: +1 -0 lines
Diff to previous 1.17
modified permission checking to use callbacks instead of flags. added custom
checks to the io and small-io state machines.

Revision 1.16.6.1 / (view) - annotate - [select for diffs] , Thu Feb 21 02:10:23 2008 UTC (4 years, 3 months ago) by slang
Branch: small-file-branch
Changes since 1.16: +15 -0 lines
Diff to previous 1.16 to next main 1.17
Big pile-o' changes to make Pete go mad.

The main changes are the implementation of the stuffed create path (now just the create state machine and operation), and the beginnings of the "unstuff" operation.

This also includes the request scheduler and state machine cleanups (required for using prelude with batch_remove) and whatever else I may have happened to change along the way.

This code is able to create files, but writing to them is almost guaranteed to break.

Revision 1.16.4.1 / (view) - annotate - [select for diffs] , Wed Feb 13 19:49:47 2008 UTC (4 years, 3 months ago) by walt
Branch: cu-sandbox-branch
Changes since 1.16: +15 -0 lines
Diff to previous 1.16 to next main 1.17
Sam's prelude and scheduler updates

Revision 1.17 / (view) - annotate - [select for diffs] , Mon Feb 11 17:25:30 2008 UTC (4 years, 3 months ago) by slang
Branch: MAIN
CVS Tags: windows-release-2-8-5-20110921, windows-client-to-Orange-Branch-20110712, windows-client, tr-branch, test-slab-cache-patch, test-duplicate-patch, tcp-peer-comm-branch, sumit-branch, solaris-point, small-file-branch-point4, small-file-branch-point3, small-file-branch-point2, sa-branch, rr-txn, rongrong, pvfs2-mr-shim, pvfs2, pvfs-2-8-point, pvfs-2-8-branch, pvfs-2-8-2-rc1, pvfs-2-8-2, pvfs-2-8-1, pvfs-2-8-0, pre-dirent, pnfs-merge, pfsck-branch-point, pfsck-branch, orangefs-rel-20100813, orangefs-current, orangefs-20100920, orangefs-2-8-5, orangefs-2-8-4, orangefs-2-8-3-20110323, orangefs-2-8-3-2011-03-23, orangefs-2-8-3-20101113, orangefs-2-8-3-20101112, my-point, mtmoore-dbpf-txn, merge_MERGE_FROM_HEAD, merge_HEAD_NEW_FEATURE_ADD4, merge_HEAD_NEW_FEATURE_ADD3, merge_HEAD_NEW_FEATURE_ADD2, merge_HEAD_NEW_FEATURE_ADD, he-branch-point, he-branch, fuse-support, from_MERGE_FROM_HEAD, from_HEAD_NEW_FEATURE_ADD2, distr-dir-pre-release, distdir_orange_before_merge_20110817, directio-point, directio-branch, branch-rongrong, bmi-experimental-branch-point, bmi-experimental-branch, before-getattr, before-dio-merge, becky-test-bed, as-point, as-branch, after-he-reverse-merge, aattrs-branch-point, aattrs-branch, Root_cu-security-branch, Orange-security-premerge, Orange-mtmoore, Orange-Root, Orange-Migrate-Tools, Orange-Merge1, Orange-FailOver-small-io, Orange-FailOver-Becky, Orange-Elaine-Distr-Dir-Root, Orange-Elaine-Distr-Dir-Branch, Orange-Elaine-Branch, Orange-Branch-metadata-backup, Orage-Elaine-Root, ORANGE-BECKY-ROOT, ORANGE-BECKY-BRANCH, OB-DBPF-OPEN-CACHE-REMOVE, HEAD, B2O-Temp, B2O-Orange-Sync-Temp, B2O-Orange-Sync, B2O-Merge-Test, B2O-Blue-Sync-Temp-End-2, B2O-Blue-Sync-Temp-End, B2O-Blue-Sync-Temp, B2O-Blue-Sync
Branch point for: solaris-branch, orange-next, cu-security-branch, Orange-Branch
Changes since 1.16: +15 -0 lines
Diff to previous 1.16
The normal path for a server request operation is to jump to the prelude state machine, which tries schedule the request based on the handle+fsid.  This meant that the request scheduler code had a switch/case returning the handle+fsid for each request we defined.  The function was also overloaded with a readonly parameter (whether the request modified any objects on the server), and a scheduling policy parameter (as the return code), which specified whether the request scheduling could be bypassed for this request.

I moved all that to a per-request parameter structure, that gets specified within the server state machine for the request.  Now there is one array of server requests (moved to pvfs2-server-req.c) which the request scheduler and prelude state machine can poke at to get parameters (defined in the state machine for that request), and based decisions on.

The patch includes some other minor changes:

* A fix to the BMI addr ref count increment/decrement.  Previously, the addr ref count was being incremented/decremented in the prelude/final-response state machines.  That requires that those state machines get invoked, which I don't want to have to depend on.  I've moved the INC call to the unexpected_sm, and the DEC call to where the state machine gets finished in the server.  That way we don't have to worry about whether we're using prelude/final-response.

* Cleanup of the request scheduler.  The way we were changing the mode from normal to admin was sort of embedded into the request scheduling code, so we had to hack the mode change from prelude_sm instead of in setparam.  Also, the request scheduler had to be aware of the setparam fields in the request.  I've moved the mode change code to separate request scheduler and job calls.  I think something similar could be done for the timer code (it doesn't really belong in the request scheduler), but I'll leave that for another patch.

* Changed the way we compile the server binary in Makefile.in to allow for multiple object files.

Revision 1.16 / (view) - annotate - [select for diffs] , Thu Aug 30 00:13:45 2007 UTC (4 years, 8 months ago) by slang
Branch: MAIN
CVS Tags: small-file-branch-point, pvfs-2-7-branch-point, pvfs-2-7-branch, pvfs-2-7-1, pvfs-2-7-0, mgmt-branch-point, cu-sandbox-branch-point
Branch point for: small-file-branch, cu-sandbox-branch
Changes since 1.15: +0 -5 lines
Diff to previous 1.15
minor change allows state actions to not be declared at the top of *.sm files.

Revision 1.13.22.1 / (view) - annotate - [select for diffs] , Wed May 23 20:48:17 2007 UTC (4 years, 11 months ago) by kunkel
Branch: pvfs2-kunkel-tas-branch
Changes since 1.13: +15 -16 lines
Diff to previous 1.13 to next main 1.14
Merge HEAD changes to TAS-branch.

Revision 1.15 / (view) - annotate - [select for diffs] , Fri Apr 13 05:14:30 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
CVS Tags: twod-branch-point, twod-branch, kunkel-tas-branch-2007-05-23, kunkel-migration-hint-branch-point-2007-06-17
Changes since 1.14: +14 -11 lines
Diff to previous 1.14
merge of the WALT3 branch to HEAD.  This patch changes the way state actions
are represented as C structures (what statecomp generates).  It also changes
the main state action parameter from a s_op on the server or an sm_p on the client
to a unified smcb pointer (state machine control block) for all state actions (both client and server).  Finally, initial support for concurrent state machines has
been added to allow state actions to be invoked concurrently .. a first step for
server-to-server.

Revision 1.13.4.5 / (view) - annotate - [select for diffs] , Wed Apr 11 22:51:02 2007 UTC (5 years, 1 month ago) by slang
Branch: WALT3
Changes since 1.13.4.4: +1 -5 lines
Diff to previous 1.13.4.4 to branch point 1.13 to next main 1.14
walt3 reverse merge from head includes merges of pw's sm changes (no state declarations), cleanup of state machine code, and other general merging/fixes.

Revision 1.13.10.1 / (view) - annotate - [select for diffs] , Sun Feb 18 09:19:55 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.13: +1 -5 lines
Diff to previous 1.13 to next main 1.14
update to current CVS version because statecomp modifications are neat for my work, thanks!

Revision 1.14 / (view) - annotate - [select for diffs] , Sat Feb 17 21:16:48 2007 UTC (5 years, 3 months ago) by pw
Branch: MAIN
CVS Tags: pvfs-2-6-3-tag2, kunkel-migration-hint-branch-point-2007-03-15
Changes since 1.13: +1 -5 lines
Diff to previous 1.13
Remove forward declarations of states.

Revision 1.13.4.4 / (view) - annotate - [select for diffs] , Sun Jul 16 21:42:59 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.13.4.3: +8 -9 lines
Diff to previous 1.13.4.3 to branch point 1.13
Everything compiles.   Crap!  Now I have to see if it runs!!!

Revision 1.13.4.3 / (view) - annotate - [select for diffs] , Thu Jul 13 17:57:11 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.13.4.2: +1 -1 lines
Diff to previous 1.13.4.2 to branch point 1.13
removing compile errors

Revision 1.13.4.2 / (view) - annotate - [select for diffs] , Wed Jul 12 20:17:55 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.13.4.1: +2 -2 lines
Diff to previous 1.13.4.1 to branch point 1.13
correcting compile errors

Revision 1.13.4.1 / (view) - annotate - [select for diffs] , Sun Jul 9 22:13:38 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.13: +8 -4 lines
Diff to previous 1.13
updated to support SM control block interface

Revision 1.12.30.1 / (view) - annotate - [select for diffs] , Wed Jun 7 19:27:30 2006 UTC (5 years, 11 months ago) by vilayann
Branch: lockd-branch
Changes since 1.12: +0 -3 lines
Diff to previous 1.12 to next main 1.13
Reverse merge from trunk to lockd-branch...

Revision 1.12.28.1 / (view) - annotate - [select for diffs] , Wed Jun 7 03:21:07 2006 UTC (5 years, 11 months ago) by slang
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point5, posix-extensions-point3
Changes since 1.12: +0 -3 lines
Diff to previous 1.12 to next main 1.13
reverse merge of branch

Revision 1.13 / (view) - annotate - [select for diffs] , Mon Jun 5 19:57:29 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
CVS Tags: version-lock-branch, version-lock-actual-branch, threaded-aio-point, threaded-aio-branch, tau-sandbox-point, tau-sandbox, pvfs2-1_5_1_for_bgl3, pvfs2-1_5_1_for_bgl2, pvfs2-1_5_1_for_bgl, pvfs2-1-5-point2, pvfs2-1-5-point, pvfs2-1-5-branch, pvfs2-1-5-1-rc3, pvfs2-1-5-1-rc2, pvfs2-1-5-1-rc1, pvfs2-1-5-1, pvfs2-1-5-0-rc5, pvfs2-1-5-0-rc4, pvfs2-1-5-0-rc3, pvfs2-1-5-0-rc2, pvfs2-1-5-0-rc1, pvfs2-1-5-0, pvfs-2-6-point4, pvfs-2-6-point3, pvfs-2-6-point2, pvfs-2-6-point, pvfs-2-6-branch, pvfs-2-6-3-tag3, pvfs-2-6-3, pvfs-2-6-2, pvfs-2-6-1, pvfs-2-6-0, posix-extensions-point7, posix-extensions-point6, posix-extensions-point4, posix-extensions-point2, lockd-point2, kunkel-hint-branch-point-26, kunkel-hint-branch-point-2007-02-17, kunkel-hint-branch, kunkel-branches-point, kunkel-branch, kunkel-alternativeIO-branch, dbpf-methods-point, dbpf-methods-branch, before-style-changes, WALT3-point, WALT3-last-merged
Branch point for: pvfs2-kunkel-tas-branch, locking-branch, kunkel-migration-branch, WALT3
Changes since 1.12: +0 -3 lines
Diff to previous 1.12
merge sync coalescing branch.

Revision 1.12.32.1 / (view) - annotate - [select for diffs] , Fri May 19 14:23:23 2006 UTC (6 years ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.12: +0 -3 lines
Diff to previous 1.12 to next main 1.13
fix deadlock bugs in coalescing code.  add proper state machine debugging.

Revision 1.12.6.1 / (view) - annotate - [select for diffs] , Fri Jun 3 15:19:10 2005 UTC (6 years, 11 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 to next main 1.13
* added event logging for states
* moved state debug code to state-machine so all state start/end
points get debug messages automatically
* added textlog stuff.  This allows us to write the default event
queue out to a text file that can be converted to slog2 later.

Revision 1.12 / (view) - annotate - [select for diffs] , Fri Oct 15 02:24:43 2004 UTC (7 years, 7 months ago) by pcarns
Branch: MAIN
CVS Tags: snapshot-bluegene-20050216, slang-sio-point, slang-sio-branch, slang-reqsched-point, slang-reqsched-branch, slang-event-changes-point, slang-attr-cache-fixups-point2, slang-attr-cache-fixups-point, slang-attr-cache-fixups-branch, pvfs2-tag-bugfix-67, pvfs2-snapshot-Alejandro, pvfs2-bugfix-67, pvfs2-bugfix-39, pvfs2-1-4-0-point, pvfs2-1-4-0-branch, pvfs2-1-4-0, pvfs2-1-3-2, pvfs2-1-3-1-branch, pvfs2-1-3-1, pvfs2-1-3-0, pvfs2-1-2-0, pvfs2-1-1-0, pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, pvfs2-0-8-0, posix-extensions-point, lockd-point, dbpf-slowskip, dbpf-onekeyval-point, dbpf-onekeyval-branch, dbpf-coalesce-point, dbpf-changes-branch, dbpf-changes, before-dbpf-onekeyval, WALT2, WALT1
Branch point for: slang-event-changes-branch, posix-extensions-branch, lockd-branch, dbpf-coalesce-branch
Changes since 1.11: +11 -2 lines
Diff to previous 1.11
retrieve the total number of handles per server in the server state machine
rather than on the client side; avoids serialized iteration through
configuration information and handle extents on client side for N servers

Revision 1.11 / (view) - annotate - [select for diffs] , Mon Sep 20 00:26:05 2004 UTC (7 years, 8 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-7-0
Changes since 1.10: +9 -0 lines
Diff to previous 1.10
make statfs return load averages from sysinfo()

Revision 1.10 / (view) - annotate - [select for diffs] , Mon Aug 2 19:35:23 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-5, pvfs2-0-6-4, pvfs2-0-6-3, pvfs2-0-6-2
Changes since 1.9: +48 -48 lines
Diff to previous 1.9
- added an internal ref_type member to the client state machine object
  so that the callers of the sm_shared_getattr_* methods (which use
  the object_ref or parent_ref internal members) can enforce the
  attribute type before doing the operation they're trying to do.  for
  example, in the error case of trying to do a readdir on a metafile
  (rather than a directory) the previous readdir operation would do a
  getattr and then issue the readdir operation to the server (and get
  an error back from the server because the object type is wrong).
  with this simple type checking in place, the getattr will fail with
  an appropriate error message (in this example case -PVFS_ENOTDIR) so
  that we can avoid the second network round-trip all together.  the
  same goes for I/O and truncate operations (as the objects must be
  metafiles), and create/symlink/mkdir (as the parent MUST be a
  directory).  How are symlinks handled?  they're not -- our sysint
  API calls expect actual handles, never links.  That means that
  callers (i.e. the pvfs2-client, ROMIO, the test programs, etc) will
  have to resolve the link with the appropriate lookup option
  before-hand (this is consistent with what we've been doing so far
  anyway, as added support for symlink type checking doesn't work
  since all operations are not symlink aware -- nor should they be,
  IMO).
- added error handling to crdirent, which would crash the server if a
  non-directory type was passed to it
- misc cleanups on both server and client side

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Jul 28 14:32:56 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-1
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
- applied Nathan's expandtab patch (expandtab-2.patch.gz)

  first referenced at:
  http://www.beowulf-underground.org/pipermail/pvfs2-developers/2004-July/000745.html

Revision 1.8 / (view) - annotate - [select for diffs] , Thu Jan 22 17:52:10 2004 UTC (8 years, 4 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-nm-nb-branch, pvfs2-0-6-0pre1, pvfs2-0-6-0, pvfs2-0-5-1, pvfs2-0-5-0, pvfs2-0-1-3, pvfs2-0-1-2, pvfs2-0-1-1, pvfs2-0-1-0, pvfs2-0-0-9
Changes since 1.7: +4 -0 lines
Diff to previous 1.7
- keep the statfs object the same, even if sysinfo call isn't available

Revision 1.7 / (view) - annotate - [select for diffs] , Wed Jan 21 19:29:27 2004 UTC (8 years, 4 months ago) by neill
Branch: MAIN
Changes since 1.6: +22 -1 lines
Diff to previous 1.6
- add configure test for sys/sysinfo.h (should be on all linux machines)
- add memory and uptime information into the (now ill-named) statfs object
- update pvfs2-statfs to display this newly added information

Revision 1.6 / (view) - annotate - [select for diffs] , Mon Jan 19 15:56:23 2004 UTC (8 years, 4 months ago) by pcarns
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
updated to sm syntax: state machines now allow a special "terminate"
transition to indicate the final state in a state machine.  updated
all state machines accordingly.  statecomp will generate a warning if a
statemachine does not contain at least one "terminate" or "return"
transition.  other related cleanups and sanity checks.

Revision 1.5 / (view) - annotate - [select for diffs] , Mon Sep 22 18:45:03 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
CVS Tags: snapshot-kraken-10-16-2003-B, snapshot-kraken-10-16-2003, pvfs2-dbpf-attr-cache-branch, pvfs2-0-0-8, pvfs2-0-0-7, pvfs2-0-0-6, pvfs2-0-0-5, pvfs2-0-0-4, pvfs2-0-0-3
Changes since 1.4: +2 -1 lines
Diff to previous 1.4
filled in remaining handle statistics in statfs calls; appears to work
but probably needs some testing in the multi server case

Revision 1.4 / (view) - annotate - [select for diffs] , Mon Sep 22 17:26:44 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.3: +13 -0 lines
Diff to previous 1.3
started reporting some handle statistics in stat- not right yet

Revision 1.3 / (view) - annotate - [select for diffs] , Fri Sep 5 15:57:21 2003 UTC (8 years, 8 months ago) by robl
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
fix compile error

Revision 1.2 / (view) - annotate - [select for diffs] , Fri Sep 5 15:02:08 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
Changes since 1.1: +38 -10 lines
Diff to previous 1.1
added a new PVFS_statfs structure (incomplete- just a few fields to
start with), implemented trove_collection_getinfo() to retrieve this
information from file system, hooked into server statfs implementation.
completely untested, and no client side support yet

Revision 1.1 / (view) - annotate - [select for diffs] , Mon Sep 1 11:18:53 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
whoops- yeah, I forgot to check this in on friday...

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

Email pvfs2 viewcvs admin
Powered by
ViewCVS 0.9.4