CVS log for pvfs2/src/server/crdirent.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.70.10.2 / (view) - annotate - [select for diffs] , Fri Nov 4 20:40:41 2011 UTC (6 months, 2 weeks ago) by sampson
Branch: Orange-Branch
CVS Tags: Orange-security-postmerge
Changes since 1.70.10.1: +19 -1 lines
Diff to previous 1.70.10.1 to branch point 1.70 to next main 1.71
Merged robust security code into Orange-Branch.

Revision 1.70.36.8 / (view) - annotate - [select for diffs] , Fri Aug 5 15:18:32 2011 UTC (9 months, 2 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
CVS Tags: distdir_orange_before_merge_20110817
Changes since 1.70.36.7: +0 -3 lines
Diff to previous 1.70.36.7 to branch point 1.70 to next main 1.71
1.put back permission check in {cr|ch|rm}dirent.sm and readdir.sm.
2. change set-attr.sm, pass the change of UID|GID|PERM of a directory to its dirdata.
3. in tree-setattr, add a state to call prelude sm.
4. display dirdata count of a directory in pvfs2-stat.

Revision 1.70.10.1.26.3 / (view) - annotate - [select for diffs] , Fri Jul 22 13:47:20 2011 UTC (9 months, 4 weeks ago) by sdsnyde
Branch: orange-next
Changes since 1.70.10.1.26.2: +9 -8 lines
Diff to previous 1.70.10.1.26.2 to branch point 1.70.10.1 to next main 1.70.10.2
changing llu handle references to strings

Revision 1.70.10.1.26.2 / (view) - annotate - [select for diffs] , Sat Jul 16 01:49:56 2011 UTC (10 months ago) by mtmoore
Branch: orange-next
Changes since 1.70.10.1.26.1: +11 -4 lines
Diff to previous 1.70.10.1.26.1 to branch point 1.70.10.1
remove extents, handle ranges, precreate pools and various other things that aren't needed in their current forms with UUIDs

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

Revision 1.70.36.7 / (view) - annotate - [select for diffs] , Wed Apr 6 21:42:07 2011 UTC (13 months, 2 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.70.36.6: +3 -0 lines
Diff to previous 1.70.36.6 to branch point 1.70
1.add entry verification in rmdirent.sm. 2. add crdirent&rmdirent retry to sys-remove.sm when dirdata mismatch.

Revision 1.70.36.6 / (view) - annotate - [select for diffs] , Thu Mar 24 15:34:15 2011 UTC (13 months, 4 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.70.36.5: +237 -27 lines
Diff to previous 1.70.36.5 to branch point 1.70
1.fix rmdir. 2. adjust remove_rebuild to send the dist_dir_attr to the rebuilt dirdata objects. 3. modify crdirent.sm to check if the incoming dirent belongs to its dirdata. more change to come for chdirent.sm, rmdirent.sm, etc. 4. modify sys-mkdir to retry getattr if it's contacting the wrong dirdata object. more change to come for sys-create, sys-remove, sys-rename, sys-lookup, etc.

Revision 1.70.36.5 / (view) - annotate - [select for diffs] , Thu Mar 10 21:09:02 2011 UTC (14 months, 1 week ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.70.36.4: +1 -1 lines
Diff to previous 1.70.36.4 to branch point 1.70
Add a "type" field to keys in the keyval database so both directory
entries and attributes can be stored for dirdata handles.

Revision 1.70.36.4 / (view) - annotate - [select for diffs] , Tue Oct 5 18:30:09 2010 UTC (19 months, 2 weeks ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.70.36.3: +1 -0 lines
Diff to previous 1.70.36.3 to branch point 1.70
Merged in changes from Orange-Branch. There were a number of bugs fixed there since this branch was created.

Revision 1.70.36.3 / (view) - annotate - [select for diffs] , Fri Oct 1 17:24:49 2010 UTC (19 months, 2 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.70.36.2: +8 -4 lines
Diff to previous 1.70.36.2 to branch point 1.70
turn off permission check and little tree_setattr fix.

Revision 1.70.36.2 / (view) - annotate - [select for diffs] , Tue Sep 21 20:35:18 2010 UTC (19 months, 4 weeks ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
CVS Tags: distr-dir-pre-release
Changes since 1.70.36.1: +14 -3 lines
Diff to previous 1.70.36.1 to branch point 1.70
Fixes to lookup.

Revision 1.70.34.1 / (view) - annotate - [select for diffs] , Thu Jul 8 14:03:09 2010 UTC (22 months, 1 week ago) by mtmoore
Changes since 1.70: +1 -0 lines
Diff to previous 1.70 to next main 1.71
merging Orange Branch changes in

Revision 1.69.2.6 / (view) - annotate - [select for diffs] , Sat Jun 19 00:02:22 2010 UTC (23 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.69.2.5: +1 -0 lines
Diff to previous 1.69.2.5 to branch point 1.69 to next main 1.70
initial merge with Orange-Branch. much will be broken

Revision 1.70.36.1 / (view) - annotate - [select for diffs] , Tue Jun 15 19:05:47 2010 UTC (23 months ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.70: +2 -63 lines
Diff to previous 1.70
Preliminary work for distributed directories - making client aware of DIR_ENT_KEY.

Revision 1.70.10.1 / (view) - annotate - [select for diffs] , Fri Apr 30 20:00:55 2010 UTC (2 years ago) by bligon
Branch: Orange-Branch
CVS Tags: windows-release-2-8-5-20110921, windows-client-to-Orange-Branch-20110712, windows-client, test-slab-cache-patch, test-duplicate-patch, pre-dirent, pnfs-merge, 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, mtmoore-dbpf-txn, before-getattr, becky-test-bed, Orange-security-premerge, Orange-Migrate-Tools, OB-DBPF-OPEN-CACHE-REMOVE, B2O-Orange-Sync-Temp, B2O-Orange-Sync, B2O-Blue-Sync-Temp-End-2, B2O-Blue-Sync-Temp-End
Branch point for: orange-next
Changes since 1.70: +1 -0 lines
Diff to previous 1.70
merge of B2O-Blue-Sync,HEAD,and latest of Orange.

Revision 1.70.40.1 / (view) - annotate - [select for diffs] , Wed Mar 31 20:27:18 2010 UTC (2 years, 1 month ago) by bligon
Branch: B2O-Merge-Test
Changes since 1.70: +1 -0 lines
Diff to previous 1.70 to next main 1.71
commiting changes from merge of Orange and Blue into test branch.

Revision 1.70.2.1 / (view) - annotate - [select for diffs] , Fri Jan 15 16:48:09 2010 UTC (2 years, 4 months ago) by pcarns
Branch: pvfs-2-8-branch
CVS Tags: pvfs-2-8-2
Changes since 1.70: +1 -0 lines
Diff to previous 1.70 to next main 1.71
merged Bart Taylor's mtime versioning bug fix from trunk to 2-8 branch

Revision 1.71 / (view) - annotate - [select for diffs] , Fri Jan 15 16:46:48 2010 UTC (2 years, 4 months ago) by pcarns
Branch: MAIN
CVS Tags: tr-branch, pvfs2-mr-shim, my-point, HEAD, B2O-Temp, B2O-Blue-Sync
Changes since 1.70: +1 -0 lines
Diff to previous 1.70
patch from Bart Taylor to fix bug in mtime versioning on server

Revision 1.69.2.5 / (view) - annotate - [select for diffs] , Tue Aug 25 17:56:25 2009 UTC (2 years, 8 months ago) by nlmills
Branch: cu-security-branch
CVS Tags: cu-security-branch-premerge
Changes since 1.69.2.4: +3 -3 lines
Diff to previous 1.69.2.4 to branch point 1.69
merged in changes from summer at LANL

Revision 1.68.4.4 / (view) - annotate - [select for diffs] , Thu Jan 29 19:58:55 2009 UTC (3 years, 3 months ago) by elaine
Branch: cu-sandbox-branch
Changes since 1.68.4.3: +1 -1 lines
Diff to previous 1.68.4.3 to branch point 1.68 to next main 1.69
*** empty log message ***

Revision 1.70 / (view) - annotate - [select for diffs] , Thu Nov 20 01:17:10 2008 UTC (3 years, 6 months ago) by slang
Branch: MAIN
CVS Tags: tcp-peer-comm-branch, solaris-point, solaris-branch, sa-branch, pvfs2, pvfs-2-8-point, pvfs-2-8-2-rc1, pvfs-2-8-1, pvfs-2-8-0, pfsck-branch-point, pfsck-branch, bmi-experimental-branch-point, bmi-experimental-branch, as-point, as-branch, aattrs-branch-point, aattrs-branch, Orange-mtmoore, Orange-Root, Orange-Merge1, Orange-FailOver-small-io, Orange-FailOver-Becky, Orange-Elaine-Distr-Dir-Root, Orange-Elaine-Branch, Orange-Branch-metadata-backup, Orage-Elaine-Root, ORANGE-BECKY-ROOT, ORANGE-BECKY-BRANCH, B2O-Blue-Sync-Temp
Branch point for: pvfs-2-8-branch, Orange-Elaine-Distr-Dir-Branch, Orange-Branch, B2O-Merge-Test
Changes since 1.69: +3 -3 lines
Diff to previous 1.69
merging hints/events code into trunk.

Revision 1.68.4.3 / (view) - annotate - [select for diffs] , Tue Sep 23 17:25:53 2008 UTC (3 years, 7 months ago) by elaine
Branch: cu-sandbox-branch
Changes since 1.68.4.2: +46 -75 lines
Diff to previous 1.68.4.2 to branch point 1.68
*** empty log message ***

Revision 1.69.2.4 / (view) - annotate - [select for diffs] , Tue Jul 29 20:01:15 2008 UTC (3 years, 9 months ago) by dbonnie
Branch: cu-security-branch
Changes since 1.69.2.3: +2 -1 lines
Diff to previous 1.69.2.3 to branch point 1.69
Updated client and server state machines to work with capabilities.  Lookup needs some cleaning server side since it does unneeded permission checking.

Revision 1.63.12.1 / (view) - annotate - [select for diffs] , Mon Jul 21 18:18:14 2008 UTC (3 years, 10 months ago) by aching
Branch: locking-branch
Changes since 1.63: +49 -60 lines
Diff to previous 1.63 to next main 1.64
Reverse merged and ported to HEAD.

Revision 1.69.2.3 / (view) - annotate - [select for diffs] , Fri Jun 13 19:59:40 2008 UTC (3 years, 11 months ago) by nlmills
Branch: cu-security-branch
CVS Tags: from_HEAD_NEW_FEATURE_ADD3
Changes since 1.69.2.2: +1 -0 lines
Diff to previous 1.69.2.2 to branch point 1.69
more work on state machine permission checks

Revision 1.69.2.2 / (view) - annotate - [select for diffs] , Thu Jun 12 23:51:58 2008 UTC (3 years, 11 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.69.2.1: +17 -2 lines
Diff to previous 1.69.2.1 to branch point 1.69
more work on state machine permission checks

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

Revision 1.68.4.2 / (view) - annotate - [select for diffs] , Tue May 27 18:00:53 2008 UTC (3 years, 11 months ago) by elaine
Branch: cu-sandbox-branch
Changes since 1.68.4.1: +29 -20 lines
Diff to previous 1.68.4.1 to branch point 1.68
*** empty log message ***

Revision 1.69.4.1 / (view) - annotate - [select for diffs] , Mon Apr 7 16:31:41 2008 UTC (4 years, 1 month ago) by slang
Branch: he-branch
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 to next main 1.70
hints and events.

Revision 1.68.6.1 / (view) - annotate - [select for diffs] , Thu Feb 21 02:10:20 2008 UTC (4 years, 3 months ago) by slang
Branch: small-file-branch
Changes since 1.68: +14 -2 lines
Diff to previous 1.68 to next main 1.69
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.68.4.1 / (view) - annotate - [select for diffs] , Wed Feb 13 19:49:46 2008 UTC (4 years, 3 months ago) by walt
Branch: cu-sandbox-branch
Changes since 1.68: +14 -2 lines
Diff to previous 1.68
Sam's prelude and scheduler updates

Revision 1.69 / (view) - annotate - [select for diffs] , Mon Feb 11 17:25:29 2008 UTC (4 years, 3 months ago) by slang
Branch: MAIN
CVS Tags: sumit-branch, small-file-branch-point4, small-file-branch-point3, small-file-branch-point2, rr-txn, rongrong, 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, fuse-support, from_MERGE_FROM_HEAD, from_HEAD_NEW_FEATURE_ADD2, directio-point, directio-branch, branch-rongrong, before-dio-merge, after-he-reverse-merge, Root_cu-security-branch
Branch point for: he-branch, cu-security-branch
Changes since 1.68: +14 -2 lines
Diff to previous 1.68
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.68 / (view) - annotate - [select for diffs] , Thu Aug 30 00:13:44 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.67: +0 -17 lines
Diff to previous 1.67
minor change allows state actions to not be declared at the top of *.sm files.

Revision 1.65.4.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.65: +53 -59 lines
Diff to previous 1.65 to next main 1.66
Merge HEAD changes to TAS-branch.

Revision 1.67 / (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.66: +52 -48 lines
Diff to previous 1.66
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.60.2.7 / (view) - annotate - [select for diffs] , Wed Apr 11 22:51:00 2007 UTC (5 years, 1 month ago) by slang
Branch: WALT3
Changes since 1.60.2.6: +1 -11 lines
Diff to previous 1.60.2.6 to branch point 1.60 to next main 1.61
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.63.4.2 / (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.63.4.1: +1 -11 lines
Diff to previous 1.63.4.1 to branch point 1.63 to next main 1.64
update to current CVS version because statecomp modifications are neat for my work, thanks!

Revision 1.66 / (view) - annotate - [select for diffs] , Sat Feb 17 21:16:47 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.65: +1 -11 lines
Diff to previous 1.65
Remove forward declarations of states.

Revision 1.63.4.1 / (view) - annotate - [select for diffs] , Sat Feb 17 11:16:01 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.63: +4 -4 lines
Diff to previous 1.63
Update migration branch to current CVS version

Revision 1.60.2.6 / (view) - annotate - [select for diffs] , Thu Oct 19 22:17:14 2006 UTC (5 years, 7 months ago) by slang
Branch: WALT3
Changes since 1.60.2.5: +0 -2 lines
Diff to previous 1.60.2.5 to branch point 1.60
reverse merge of HEAD to WALT3 branch.

Revision 1.63.2.2 / (view) - annotate - [select for diffs] , Mon Sep 25 15:28:38 2006 UTC (5 years, 7 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.63.2.1: +3 -3 lines
Diff to previous 1.63.2.1 to branch point 1.63 to next main 1.64
add hints to job layer

Revision 1.63.2.1 / (view) - annotate - [select for diffs] , Mon Sep 25 12:39:53 2006 UTC (5 years, 7 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.63: +4 -4 lines
Diff to previous 1.63
backmerging of HEAD to branch...

Revision 1.65 / (view) - annotate - [select for diffs] , Wed Sep 20 04:36:14 2006 UTC (5 years, 8 months ago) by slang
Branch: MAIN
CVS Tags: 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, kunkel-hint-branch-point-26, kunkel-hint-branch-point-2007-02-17, dbpf-methods-point, dbpf-methods-branch, WALT3-point, WALT3-last-merged
Branch point for: pvfs2-kunkel-tas-branch
Changes since 1.64: +4 -2 lines
Diff to previous 1.64
* added some bits to gossip that print out the thread id for each debug
message.  This can be set with the threads logstamp.

* fixed bug in dbpf sync coalesce code that wasn't ever syncing and
completing operations that got queued in the ready-to-be-synced state,
but the following operations would error (EEXISTS for example),
so the sync never happened.
* removed all the DBPF_OP_NEEDS_SYNC return codes in dspace and keyval
service functions that modify the db.  The syncing code can figure out
what needs to be synced and what doesn't from now on.

* replace DBPF_OP_IS_* macros that do range checking with logical or checks.
This ends up being easier for me to follow and update.

* crdirent gets posted to the request scheduler with the handle of the
directory (not the dirent handle).  In this case, the operation
on the directory handle is read-only.  Not setting the readonly_flag
for this case was causing a hang with other modifying operations on the
directory (setattr for example).

Revision 1.60.2.5 / (view) - annotate - [select for diffs] , Mon Sep 18 15:05:24 2006 UTC (5 years, 8 months ago) by vilayann
Branch: WALT3
Changes since 1.60.2.4: +7 -55 lines
Diff to previous 1.60.2.4 to branch point 1.60
Merge HEAD into Walt's branch.
Rework new state machines to the new cleanups introduced by Walt.

Revision 1.64 / (view) - annotate - [select for diffs] , Sat Sep 16 20:56:47 2006 UTC (5 years, 8 months ago) by pw
Branch: MAIN
CVS Tags: tau-sandbox-point, tau-sandbox
Changes since 1.63: +0 -2 lines
Diff to previous 1.63
move frequently used extern declaration into a header file

Revision 1.61.2.1 / (view) - annotate - [select for diffs] , Fri Aug 18 05:12:17 2006 UTC (5 years, 9 months ago) by slang
Branch: kunkel-branch
Changes since 1.61: +4 -39 lines
Diff to previous 1.61 to next main 1.62
reverse merge from trunk.  working for now.

Revision 1.58.2.2 / (view) - annotate - [select for diffs] , Wed Aug 9 20:17:55 2006 UTC (5 years, 9 months ago) by vilayann
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point5, posix-extensions-point3
Changes since 1.58.2.1: +37 -259 lines
Diff to previous 1.58.2.1 to branch point 1.58 to next main 1.59
Reverse merge changes from HEAD to posix-extensions-branch.

Revision 1.63 / (view) - annotate - [select for diffs] , Wed Aug 9 04:43:51 2006 UTC (5 years, 9 months ago) by vilayann
Branch: MAIN
CVS Tags: version-lock-branch, version-lock-actual-branch, threaded-aio-point, threaded-aio-branch, posix-extensions-point7, posix-extensions-point6, posix-extensions-point4, kunkel-branches-point, kunkel-alternativeIO-branch
Branch point for: locking-branch, kunkel-migration-branch, kunkel-hint-branch
Changes since 1.62: +3 -9 lines
Diff to previous 1.62
- Misc. cleanups (replaced a big macro with an inline function)
- Removed parent_*time from the *dirent request protocol since time stamps are now
kept at the server and do not need to be sent over the wire (This is the reason why
major version of the wire protocol has been bumped)
- Adjust macros for the *dirent protocol accordingly.
- Add a few more debugging statements to kmod

Revision 1.62 / (view) - annotate - [select for diffs] , Tue Aug 1 00:27:16 2006 UTC (5 years, 9 months ago) by vilayann
Branch: MAIN
Changes since 1.61: +1 -30 lines
Diff to previous 1.61
Patch fixes the atime, mtime and ctime problems that people have
reported with PVFS2.
Patch changes the notion of who sets these times. Earlier behavior was the
clients providing the times to the server. New behavior is to have the
server set these times except in  the implementation of utimes() system
call whereby clients explicitly set the time (atime and mtime).
NOTE: We dont allow the clients to dictate the ctime setting at all since
that is consistent with all file systems.
So what we have is:
read, readdir -> atime update required
write, truncate -> mtime update required
ctime is updated on every setattr implicitly on the server.

Since there is no need for parent_*time fields in the server request for chdirent,
crdirent and rmdirent, the next step is to remove those fields, fix the endecode
macros and bump up the major version of the protocol.

Patch also implements these times lazily by flushing them only at the time
of a close rather than after every read/write which could be pretty
expensive.

Revision 1.60.2.4 / (view) - annotate - [select for diffs] , Mon Jul 17 22:25:39 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.60.2.3: +3 -3 lines
Diff to previous 1.60.2.3 to branch point 1.60
added some state machine debugging

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

Revision 1.61 / (view) - annotate - [select for diffs] , Thu Jul 13 05:11:41 2006 UTC (5 years, 10 months ago) by slang
Branch: MAIN
CVS Tags: before-style-changes
Branch point for: kunkel-branch
Changes since 1.60: +3 -16 lines
Diff to previous 1.60
Julian's changes to coalescing and dbpf storage options:

- Changes the coalesce code, now we decide the mode (coalesce or not) during
the coalesce function call and not during the enque process.
- Add the coalesce high / low watermark to the dbpf_collection structure, so
colls can have different values.
- Put per default the TROVE_SYNC flag into trove from different statemachines
where we used the macro before. The macro is still there and should be
removed if we agree to this behavior.
- Removes the coalesce config option
- Moves SMALL_IO_MAX_REGIONS to internal and renames it to IO_MAX_REGIONS (we
had it at least 3 times defined somewhere).

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

Revision 1.60.2.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.60: +27 -19 lines
Diff to previous 1.60
updated to support SM control block interface

Revision 1.59.2.1 / (view) - annotate - [select for diffs] , Wed Jun 14 20:14:51 2006 UTC (5 years, 11 months ago) by slang
Branch: pvfs2-1-5-branch
CVS Tags: pvfs2-1_5_1_for_bgl3, pvfs2-1_5_1_for_bgl2, pvfs2-1_5_1_for_bgl, 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
Changes since 1.59: +39 -213 lines
Diff to previous 1.59 to next main 1.60
reverse merge of recent bug fixes from trunk

Revision 1.60 / (view) - annotate - [select for diffs] , Wed Jun 14 18:41:26 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-5-point2
Branch point for: WALT3
Changes since 1.59: +39 -213 lines
Diff to previous 1.59
commit of keyval handle info changes.  This allows info to be stored on a per handle basis in a 'null key' inside the database.  Right now we just use it to store the count of directory entries, so that we don't have to do a read/modify/write in crdirent and rmdirent.

Also includes changes to the keyval strings to use #define values instead of the actual strings.  This just makes that code lest prone to bugs in the future.

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

Revision 1.58.2.1 / (view) - annotate - [select for diffs] , Wed Jun 7 03:21:06 2006 UTC (5 years, 11 months ago) by slang
Branch: posix-extensions-branch
Changes since 1.58: +20 -20 lines
Diff to previous 1.58
reverse merge of branch

Revision 1.59 / (view) - annotate - [select for diffs] , Mon Jun 5 19:57:28 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-5-point, posix-extensions-point2, lockd-point2
Branch point for: pvfs2-1-5-branch
Changes since 1.58: +20 -20 lines
Diff to previous 1.58
merge sync coalescing branch.

Revision 1.58.6.2 / (view) - annotate - [select for diffs] , Fri May 19 14:23:22 2006 UTC (6 years ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.58.6.1: +15 -17 lines
Diff to previous 1.58.6.1 to branch point 1.58 to next main 1.59
fix deadlock bugs in coalescing code.  add proper state machine debugging.

Revision 1.58.6.1 / (view) - annotate - [select for diffs] , Wed May 10 22:25:29 2006 UTC (6 years ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.58: +6 -4 lines
Diff to previous 1.58
merge client_test fix from trunk into branch.  Also for each of the state machines that have multiple trove_keyval_write ops, remove TROVE_SYNC from all but the last (usually only 2).

Revision 1.58 / (view) - annotate - [select for diffs] , Wed Apr 5 19:24:32 2006 UTC (6 years, 1 month ago) by slang
Branch: MAIN
CVS Tags: posix-extensions-point, lockd-point, dbpf-coalesce-point
Branch point for: posix-extensions-branch, lockd-branch, dbpf-coalesce-branch
Changes since 1.57: +2 -2 lines
Diff to previous 1.57
fix 64bit warnings

Revision 1.57 / (view) - annotate - [select for diffs] , Tue Apr 4 04:47:14 2006 UTC (6 years, 1 month ago) by slang
Branch: MAIN
Changes since 1.56: +62 -127 lines
Diff to previous 1.56
onekeyval merge

Revision 1.56.4.6 / (view) - annotate - [select for diffs] , Fri Mar 31 19:08:29 2006 UTC (6 years, 1 month ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.56.4.5: +3 -5 lines
Diff to previous 1.56.4.5 to branch point 1.56 to next main 1.57
removed all the keyval type stuff.  Also my prefix callback doesn't seem to be working..

Revision 1.56.4.5 / (view) - annotate - [select for diffs] , Thu Mar 30 15:44:22 2006 UTC (6 years, 1 month ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.56.4.4: +11 -152 lines
Diff to previous 1.56.4.4 to branch point 1.56
fixes to make sure keyvals get remove properly.

Revision 1.56.4.4 / (view) - annotate - [select for diffs] , Thu Mar 23 22:21:53 2006 UTC (6 years, 1 month ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.56.4.3: +18 -15 lines
Diff to previous 1.56.4.3 to branch point 1.56
get dirent count correct.  Thanks Phil!

Revision 1.56.4.3 / (view) - annotate - [select for diffs] , Wed Mar 15 23:09:27 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.56.4.2: +2 -1 lines
Diff to previous 1.56.4.2 to branch point 1.56
fix warning.

Revision 1.56.4.2 / (view) - annotate - [select for diffs] , Mon Feb 27 22:05:17 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
CVS Tags: dbpf-slowskip
Changes since 1.56.4.1: +2 -2 lines
Diff to previous 1.56.4.1 to branch point 1.56
use correct key flags for keyval_read/write

Revision 1.56.4.1 / (view) - annotate - [select for diffs] , Fri Feb 24 21:52:54 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.56: +79 -5 lines
Diff to previous 1.56
mostly working onekey impl

Revision 1.56.2.2 / (view) - annotate - [select for diffs] , Tue Feb 14 15:55:36 2006 UTC (6 years, 3 months ago) by slang
Branch: dbpf-changes-branch
Changes since 1.56.2.1: +7 -2 lines
Diff to previous 1.56.2.1 to branch point 1.56 to next main 1.57
fixes to immediate completion code.

Revision 1.56.2.1 / (view) - annotate - [select for diffs] , Thu Feb 9 19:17:00 2006 UTC (6 years, 3 months ago) by slang
Branch: dbpf-changes-branch
Changes since 1.56: +4 -4 lines
Diff to previous 1.56
immediate completion now turns on with: ImmediateCompletion yes option in fs config

Revision 1.54.2.1 / (view) - annotate - [select for diffs] , Fri Nov 11 22:19:11 2005 UTC (6 years, 6 months ago) by slang
Branch: slang-sio-branch
Changes since 1.54: +22 -21 lines
Diff to previous 1.54 to next main 1.55
fixes to small io stuff to get test-zero-fill working again.  Also committing updates from HEAD to make things easier for merge.

Revision 1.55.2.1 / (view) - annotate - [select for diffs] , Fri Nov 11 21:38:15 2005 UTC (6 years, 6 months ago) by slang
Branch: pvfs2-1-3-1-branch
CVS Tags: pvfs2-1-3-2, pvfs2-1-3-1
Changes since 1.55: +1 -0 lines
Diff to previous 1.55 to next main 1.56
committing lld/llu fixes to 1.3.1 branch

Revision 1.56 / (view) - annotate - [select for diffs] , Fri Nov 11 21:31:09 2005 UTC (6 years, 6 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-4-0-point, pvfs2-1-4-0-branch, pvfs2-1-4-0, dbpf-onekeyval-point, dbpf-changes, before-dbpf-onekeyval
Branch point for: dbpf-onekeyval-branch, dbpf-changes-branch
Changes since 1.55: +1 -0 lines
Diff to previous 1.55
moved the llu and lld macros to an internal header so that we don't have to include pvfs2-config.h in the installed pvfs2-types.h header.

Revision 1.55 / (view) - annotate - [select for diffs] , Thu Nov 10 01:27:13 2005 UTC (6 years, 6 months ago) by slang
Branch: MAIN
Branch point for: pvfs2-1-3-1-branch
Changes since 1.54: +21 -21 lines
Diff to previous 1.54
* malloc.h is obsolete in freebsd, check for it
* No error.h in freebsd
* linux allows Lu,Lx, and Ld to be interchangeable with llu,llx, and
lld.  Other platforms (solaris, bsd) don't.  Replaced all the L*
with ll*.
* bsd doesn't have mntent.h.  use fstab.h and our own funcs.
* bsd doesn't know about ssize_t.  Use size_t instead.
* bsd doesn't have asm errnos.  Check for each of those
errno macros and if not defined define to -1
* check for db3/db.h db4/db.h header if db path is specified using
--with-db
* darwin has aio support builtin, doesn't need -lrt
* remove kernel stuff in pvfs2-types.h that sets WORDSIZE.  gcc
defines __LP64__ on archs with 64bit longs so we use that instead.
* darwin's open doesn't accept O_LARGEFILE.  off_t is an int64 by
default.  define O_LARGEFILE if it hasn't been.
* need to run ranlib on darwin after libpvfs2.a gets installed to regenerate
table of contents

Revision 1.54 / (view) - annotate - [select for diffs] , Thu Oct 27 19:02:11 2005 UTC (6 years, 6 months ago) by vilayann
Branch: MAIN
CVS Tags: slang-sio-point
Branch point for: slang-sio-branch
Changes since 1.53: +4 -4 lines
Diff to previous 1.53
Many users reported timestamp problems when listing files mounted on a PVFS2 volume,
This was traced down to the versioned mtime patch that was added to detect race conditions
in readdir and retry. However, the approach was deemed unclean since sometimes the client
was aware of the versioned mtime and sometimes not.
This patch attempts to avoid that drawback by moving it all to the server.
The client does not see of any the versioned mtime stuff at all now.

Revision 1.51.6.3 / (view) - annotate - [select for diffs] , Thu Aug 25 22:14:29 2005 UTC (6 years, 8 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.51.6.2: +0 -1 lines
Diff to previous 1.51.6.2 to branch point 1.51 to next main 1.52
fixes after branch point shift

Revision 1.51.6.2 / (view) - annotate - [select for diffs] , Thu Aug 25 20:38:37 2005 UTC (6 years, 8 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.51.6.1: +14 -16 lines
Diff to previous 1.51.6.1 to branch point 1.51
updates to my event changes to bring them inline with trunk

Revision 1.52.2.1 / (view) - annotate - [select for diffs] , Wed Aug 10 19:38:07 2005 UTC (6 years, 9 months ago) by slang
Branch: slang-attr-cache-fixups-branch
CVS Tags: slang-attr-cache-fixups-point2
Changes since 1.52: +2 -0 lines
Diff to previous 1.52 to next main 1.53
merge changes from trunk since branch point into branch.  Effectively moves the branchpoint to the latest trunk.

Revision 1.53 / (view) - annotate - [select for diffs] , Tue Aug 2 17:58:55 2005 UTC (6 years, 9 months ago) by robl
Branch: MAIN
CVS Tags: slang-reqsched-point, slang-reqsched-branch, pvfs2-1-3-0
Changes since 1.52: +2 -0 lines
Diff to previous 1.52
[pcarns]:
- adds a new prefix ("A") for access style logging
- logs user, group, host for each operation if enabled
- triggered by a macro in the server (PINT_ACCESS_DEBUG) that checks gossip
  level before doing any work
- basic format looks like this (H is handle, S is s_op structure, crdirent is
  operation type, Success is response status sent):

[A 08/02 15:14] pcarns.users@localhost H=1048576 S=0x80f7d20: crdirent:
finish (Success)

- turning on "access" logging gives messages like the above on completion of
  operations, plus messages for some operations that give key information (like
  the path name for lookups, the object type for getattr, etc.)
- turning on "access_detail" logging adds additional messages that print when
  the request is received and when it starts processing

Revision 1.52 / (view) - annotate - [select for diffs] , Tue Jun 14 19:23:32 2005 UTC (6 years, 11 months ago) by robl
Branch: MAIN
CVS Tags: slang-attr-cache-fixups-point, pvfs2-1-2-0
Branch point for: slang-attr-cache-fixups-branch
Changes since 1.51: +11 -15 lines
Diff to previous 1.51
more or less David Metheny's suggested fix for handling nonprintable filenames
- first, like the linux VFS, allow any character in a file name except '/'
- second, if someone does attempt to create a file with a / in the name, make
  sure the request says marked as 'scheduled' so that it gets properly cleaned
  up (otherwise the server will wait for the bad request to finish and no other
  operations will be serviced).

Revision 1.51.6.1 / (view) - annotate - [select for diffs] , Fri Jun 3 15:19:08 2005 UTC (6 years, 11 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.51: +9 -9 lines
Diff to previous 1.51
* 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.51 / (view) - annotate - [select for diffs] , Wed Oct 27 19:12:27 2004 UTC (7 years, 6 months ago) by neill
Branch: MAIN
CVS Tags: snapshot-bluegene-20050216, slang-event-changes-point, pvfs2-tag-bugfix-67, pvfs2-snapshot-Alejandro, pvfs2-bugfix-67, pvfs2-bugfix-39, pvfs2-1-1-0, pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, WALT2, WALT1
Branch point for: slang-event-changes-branch
Changes since 1.50: +17 -10 lines
Diff to previous 1.50
- added a setattr debugging mask and changed most detailed setattr
  debugging to use it
- added a mkdir debugging mask and changed most detailed mkdir
  debugging to use it
- added some inlined methods in PVFS_util (as they need to be used on
  both the server and the client) for getting the current time in
  PVFS_time format, encoding a PVFS_time as a version (finer grained
  than a 'normal' PVFS_time since we can use the high 32 bits), and
  decoding the version as a PVFS_time
- added a compatibility hack that _should_ allow no noticeable
  breakage on existing storage space, but will eventually migrate to
  the slightly new storage format over time
- modified client side sys-mkdir, sys-create, and sys-symlink to
  encode the mtime as a version when passing it to the server (so it's
  transparent from the server perspective)
- modified server side get-attr to decode the version read from disk
  back into an mtime (so it's transparent from the client perspective)
- modified mkspace method to properly version newly created root and
  lost+found directories
- modified the server side mkdir operation to return -PVFS_EINVAL if
  the object attr type is not a directory object
- misc debugging changes and cleanups

Revision 1.50 / (view) - annotate - [select for diffs] , Mon Oct 4 16:46:28 2004 UTC (7 years, 7 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-8-0, pvfs2-0-7-0
Changes since 1.49: +3 -3 lines
Diff to previous 1.49
- increased mmap-ra-small buf size from 4K to 16K to avoid many small
  allocations (causes larger mem footprint of client-core)
- adjusted client sysint setattr operation to work in a write-through
  manner with the acache (when enabled)
- fixed client sysint setattr to invalidate the acache entry (if any)
- added some debugging
- misc cleanups

Revision 1.49 / (view) - annotate - [select for diffs] , Thu Sep 9 14:29:12 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-5
Changes since 1.48: +108 -25 lines
Diff to previous 1.48
- added a PVFS_util method to get the current system and return it as
  a valid PVFS_time type
- added arguments to the crdirent/chdirent/rmdirent operations that
  now can take optional parent atime/mtime/ctime fields
- added support on server *dirent operations that update the parent
  time attributes (if specified) on successful completion of the
  *dirent operation; null/zero time fields are not updated
- modified sys-create/sys-mkdir/sys-symlink/sys-rename/sys-remove to
  work with the new operations properly; in general,
  create/remove/rename operations updates the mtime and ctime of the
  parent directory, which is now properly supported
- moved some common server side attribute handling code into a macro
  to make it re-useable across several server state machines
- updated en{de}coding of modified operations
- misc cleanups

Revision 1.48 / (view) - annotate - [select for diffs] , Wed Aug 25 00:35:44 2004 UTC (7 years, 8 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-6-4, pvfs2-0-6-3
Changes since 1.47: +0 -3 lines
Diff to previous 1.47
removed gossip debug statement that generates a warning

Revision 1.47 / (view) - annotate - [select for diffs] , Tue Aug 24 18:49:37 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
Changes since 1.46: +3 -0 lines
Diff to previous 1.46
- add PVFS_{i}mgmt_create_dirent mgmt calls
- make request sceduler honor the mgmt-remove-* operations even while
  in admin mode by setting the appropriate flag

Revision 1.46 / (view) - annotate - [select for diffs] , Tue Aug 17 17:51:23 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.45: +47 -50 lines
Diff to previous 1.45
- error code sanity checks, better error handling, and cleanups on the
  sysint, le-encoder, and related server operations

Revision 1.45 / (view) - annotate - [select for diffs] , Mon Aug 16 14:11:41 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44
- apply Nathan's format specifier patch referenced here:

http://www.beowulf-underground.org/pipermail/pvfs2-developers/2004-August/000779.html

with slight modification

Revision 1.44 / (view) - annotate - [select for diffs] , Thu Aug 12 19:53:41 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-2
Changes since 1.43: +3 -3 lines
Diff to previous 1.43
- added configuration option TroveSyncMeta (can be 'yes' or 'no')
- added configuration option TroveSyncData (can be 'yes' or 'no')
- replaced TroveSyncMode configuration option with separate
  TroveSyncMeta and TroveSyncData options.  the defaults are yes to
  both.  this is a change because previously data was NOT being sync'd
  after reads/writes.  for now, only writes are sync'd if
  TroveSyncData is 'yes'.
- updated pvfs2-genconfig to reflect config option changes
- added top-level and flowproto-multiqueue understanding of the
  data sync mode option via setinfo
- added hook to server to pass data sync mode option to the flow
  implementation via setinfo on a per fs/coll_id basis
- added fp_multiqueue tracking of this to be able to pass the
  appropriate data sync flag to trove on a per fs basis
- misc cleanups

Revision 1.43 / (view) - annotate - [select for diffs] , Mon Aug 2 20:10:09 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.42: +50 -47 lines
Diff to previous 1.42
- more error handling and cleanups

Revision 1.42 / (view) - annotate - [select for diffs] , Mon Aug 2 19:35:22 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.41: +156 -126 lines
Diff to previous 1.41
- 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.41 / (view) - annotate - [select for diffs] , Thu Jul 29 16:31:25 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-1
Changes since 1.40: +14 -6 lines
Diff to previous 1.40
- enforce a handle allocation of the (hidden/internal) dspace created on the
  server side during a crdirent to be within the metadata range that the server
  is managing.  this is a bugfix to bad behaviour that allowed metadata to
  live in the data handle ranges all this time

Revision 1.40 / (view) - annotate - [select for diffs] , Wed Jul 28 14:32:55 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
- 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.39 / (view) - annotate - [select for diffs] , Thu Jul 22 13:58:41 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.38: +1 -6 lines
Diff to previous 1.38
removed an unecessary assertion (new handle doesn't need to be known when
just checking for existance of an old entry); corrected an old function
comment

Revision 1.38 / (view) - annotate - [select for diffs] , Wed Jul 21 14:31:01 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.37: +64 -35 lines
Diff to previous 1.37
modify crdirent state functions so that they operate on op structure fields
rather than request fields; will allow code to be reused for other requests

Revision 1.37 / (view) - annotate - [select for diffs] , Wed Jul 21 13:35:10 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
naming update

Revision 1.36 / (view) - annotate - [select for diffs] , Wed Jul 14 19:47:33 2004 UTC (7 years, 10 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-6-0
Changes since 1.35: +68 -66 lines
Diff to previous 1.35
refactor crdirent state machine a little
- break the collection of steps that check for the existance of the entry
  into a seperate nested machine
- allows the above steps to possibly be reused elsewhere
- simplifies primary state machine into "check existance, write entry, send
  response"
- a few error handling cleanups/clarifications along the way

Revision 1.35 / (view) - annotate - [select for diffs] , Thu May 20 17:27:51 2004 UTC (8 years ago) by neill
Branch: MAIN
CVS Tags: pvfs2-nm-nb-branch, pvfs2-0-6-0pre1, pvfs2-0-5-1
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
- implement non-blocking operations for all sysint and mgmt operations
- refactor blocking operations in terms of non-blocking operations
- change all sysint credential arguments to credential references
- memory leaks, bug fixes, cleanups

NOTE: this is a non-blocking first draft, updates are sure to come

Revision 1.34 / (view) - annotate - [select for diffs] , Mon May 3 17:32:20 2004 UTC (8 years ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-5-0
Changes since 1.33: +7 -8 lines
Diff to previous 1.33
- more error handling
- more cleanups
- fixed the dbcache try_remove method after the last set of changes to it
  (must remove even if it's not in the cache)

Revision 1.33 / (view) - annotate - [select for diffs] , Wed Feb 18 19:40:32 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-1-3, pvfs2-0-1-2, pvfs2-0-1-1, pvfs2-0-1-0
Changes since 1.32: +6 -6 lines
Diff to previous 1.32
- okay, some more cleanups and removals of hardcoded TROVE_SYNC flags

Revision 1.32 / (view) - annotate - [select for diffs] , Wed Feb 18 17:38:29 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.31: +62 -50 lines
Diff to previous 1.31
- added some debugging to get an idea of how the trove metadata syncs are
  affecting us
- enforced the trove_sync_mode flag in a few more places, but being careful
  to sync some operations that *must* be sync'd
- some cleanups

Revision 1.31 / (view) - annotate - [select for diffs] , Mon Feb 16 23:08:22 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.30: +14 -9 lines
Diff to previous 1.30
- extend the job interface to take a flags argument, which is passed to various
  trove operations, rather than hard-coding TROVE_SYNC
- make changes to server to pass in the mode value matching the config option
- update test programs (hardcode TROVE_SYNC)

Revision 1.30 / (view) - annotate - [select for diffs] , Fri Jan 30 20:12:13 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-9
Changes since 1.29: +110 -91 lines
Diff to previous 1.29
- rename all gossip masks to GOSSIP_xxx
- some misc cleanups

Revision 1.29 / (view) - annotate - [select for diffs] , Mon Jan 19 15:56:22 2004 UTC (8 years, 4 months ago) by pcarns
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
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.28 / (view) - annotate - [select for diffs] , Thu Oct 16 14:42:21 2003 UTC (8 years, 7 months ago) by pw
Branch: MAIN
CVS Tags: snapshot-kraken-10-16-2003-B, pvfs2-dbpf-attr-cache-branch, pvfs2-0-0-8, pvfs2-0-0-7, pvfs2-0-0-6, pvfs2-0-0-5
Changes since 1.27: +8 -8 lines
Diff to previous 1.27
boring 64-bit printf changes

Revision 1.27 / (view) - annotate - [select for diffs] , Tue Aug 26 02:37:59 2003 UTC (8 years, 8 months ago) by pcarns
Branch: MAIN
CVS Tags: snapshot-kraken-10-16-2003, pvfs2-0-0-4, pvfs2-0-0-3, pvfs2-0-0-2
Changes since 1.26: +5 -0 lines
Diff to previous 1.26
added an extra argument to all of the job API post fuctions: status_user_tag.
... similar to user_ptr semantically (set by caller at post time, returned
by API at test time), except that it is an integer type and is returned
through the status struct.  Not used yet, but intended to help in client
side state machines that have multiple transitions to the same state and
need a way to differentiate between them.

Revision 1.26 / (view) - annotate - [select for diffs] , Mon Jul 21 11:40:10 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
CVS Tags: pvfs2-0-0-1
Changes since 1.25: +5 -6 lines
Diff to previous 1.25
renamed PINT_server_job_context to server_job_context (only used in server).  Moved extern declaration into pvfs2-server.h,
and then removed all the externs from all the state machines.

Revision 1.25 / (view) - annotate - [select for diffs] , Sun Jul 20 00:02:59 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
General cleanup and reorganization in src/server.  Got rid of server-state-machine.c, merging the right stuff into pvfs2-server.c.

I've started using server_ for the prefix for functions used only in the server; seems like a good way to differentiate.

I'm still not happy with the error handling in the server; we need to do something about that.

Revision 1.24 / (view) - annotate - [select for diffs] , Tue Jul 15 20:42:30 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.23: +8 -7 lines
Diff to previous 1.23
unified debugging messages for state transitions under a single macro that
only takes a single string (function name) as an argument and formats
the rest on its own.  Updated all state machines (except for flush) to use
it.

Revision 1.23 / (view) - annotate - [select for diffs] , Mon Jul 14 13:01:58 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.22: +5 -108 lines
Diff to previous 1.22
simplified the crdirent state machine by taking advantage of
attributes that have already been read by the prelude state machine

Revision 1.22 / (view) - annotate - [select for diffs] , Sun Jul 13 23:16:36 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.21: +2 -3 lines
Diff to previous 1.21
added error transition out of prelude states for each machine; this should
allow us to properly handle scheduler errors and eventually permission
checking failures

Revision 1.21 / (view) - annotate - [select for diffs] , Sat Jul 12 17:37:44 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
trying to rename some of the state machine handling functions to be more
consistent and reflect what they actually do

Revision 1.20 / (view) - annotate - [select for diffs] , Sat Jul 12 04:05:46 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.19: +13 -120 lines
Diff to previous 1.19
crdirent state machine now uses final_response nested machine to handle
sending responses and releasing the scheduler

Revision 1.19 / (view) - annotate - [select for diffs] , Sat Jul 12 02:57:57 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.18: +2 -9 lines
Diff to previous 1.18
Created a common function that can be used to end execution of a state
machine, and started using it in all existing machines.  In particular, this
cleans up any resources that were allocated before the machine started
executing, so that the state machines don't have to worry about resources
that they didn't allocate...

Revision 1.18 / (view) - annotate - [select for diffs] , Sat Jul 12 02:02:56 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17
random cleanup; made response structure a static part of server op structure,
rather than dynamically allocating it for each operation

Revision 1.17 / (view) - annotate - [select for diffs] , Sat Jul 12 00:51:45 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.16: +19 -17 lines
Diff to previous 1.16
Updated all existing server state machines to use new "prelude" nested
machine.  In theory, when we add permission checking we can do it by only
modifying that one nested machine.  Note, however, that most state machines
don't have an error transition from the initial state yet, so there is no way
to detect scheduling errors or permission failures until we clean that up...

Revision 1.16 / (view) - annotate - [select for diffs] , Fri Jul 11 23:47:07 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.15: +83 -83 lines
Diff to previous 1.15
the nomenclature in these machines was driving me bananas;
changed name of job_status_t* variables from "ret" to "js_p", changed
integer variables with names like "job_post_ret" to "ret"

Revision 1.15 / (view) - annotate - [select for diffs] , Thu Jul 10 20:32:51 2003 UTC (8 years, 10 months ago) by robl
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
even though phill pointed out how to do this in .vimrc, add the modelines

Revision 1.14 / (view) - annotate - [select for diffs] , Wed Jul 9 20:33:36 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.13: +8 -2 lines
Diff to previous 1.13
crdirent doesn't crash anymore

Revision 1.13 / (view) - annotate - [select for diffs] , Tue Jul 8 17:49:57 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.12: +1 -0 lines
Diff to previous 1.12
Added mode lines to emacs directives so emacs knows what to do with these files.

Revision 1.12 / (view) - annotate - [select for diffs] , Tue Jul 8 16:26:35 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.11: +12 -12 lines
Diff to previous 1.11
Cleaned up naming of state machines in server so we don't have the "clashing with syscall names" problem any more.

Revision 1.11 / (view) - annotate - [select for diffs] , Tue Jul 8 11:18:17 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.10: +0 -1 lines
Diff to previous 1.10
Woohoo look at me!  state machine headers are now obtuse.  and in src/common/misc.  and theoretically reusable between client and server.
New server-state-machine.c has server-specific functions for state machine; we'll need some of those for the client, but different implementations.

Revision 1.10 / (view) - annotate - [select for diffs] , Mon Jul 7 22:29:14 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.9: +0 -23 lines
Diff to previous 1.9
More random cleanup.  Still working on making the state machine code movable.

Revision 1.9 / (view) - annotate - [select for diffs] , Mon Jul 7 21:44:03 2003 UTC (8 years, 10 months ago) by rbross
Branch: MAIN
Changes since 1.8: +1 -10 lines
Diff to previous 1.8
now using pvfs error codes; cleaned up includes all around; still trying to make it possible to move the state machine code in a reasonable way.

Revision 1.8 / (view) - annotate - [select for diffs] , Tue Jul 1 23:10:46 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7
modifications to the encoding interface; took encoding type out of argument
and put into structs that represent encoding/decoding state where possible,
other minor cleanups

Revision 1.7 / (view) - annotate - [select for diffs] , Mon Jun 23 21:17:47 2003 UTC (8 years, 11 months ago) by dalew
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6
Modified the function names in these files to use the same verbage for the release states.

Revision 1.6 / (view) - annotate - [select for diffs] , Thu Jun 19 01:07:38 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.5: +0 -5 lines
Diff to previous 1.5
got rid of the "generic" response structure, cleaned up several response
structure definitions

Revision 1.5 / (view) - annotate - [select for diffs] , Fri May 30 19:46:25 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
turned the "bmi_flag_t buffer_flag" variable into a named enumeration
"enum bmi_buffer_type buffer_type"

Revision 1.4 / (view) - annotate - [select for diffs] , Wed May 14 22:08:24 2003 UTC (9 years ago) by neill
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3
Replaced many instances of the bucket/mask stuff with just handle stuff.

Revision 1.3 / (view) - annotate - [select for diffs] , Wed May 14 19:56:18 2003 UTC (9 years ago) by neill
Branch: MAIN
Changes since 1.2: +0 -1 lines
Diff to previous 1.2
Err...I accidently updated only the generated .c files; took me a while to
realize what was going wrong.

Revision 1.2 / (view) - annotate - [select for diffs] , Tue Apr 15 17:04:54 2003 UTC (9 years, 1 month ago) by pcarns
Branch: MAIN
Changes since 1.1: +19 -9 lines
Diff to previous 1.1
Added contexts to the job API, and updated all job calls to reflect it.
Contexts aren't actually implemented yet.

Revision 1.1 / (view) - annotate - [select for diffs] , Thu Apr 10 15:42:53 2003 UTC (9 years, 1 month ago) by walt
Branch: MAIN
renamed statemachine files

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