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

Revision 1.53.36.18 / (view) - annotate - [select for diffs] , Fri Aug 19 15:50:15 2011 UTC (9 months ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.17: +1 -0 lines
Diff to previous 1.53.36.17 to branch point 1.53 to next main 1.54
merge with Orange-Branch

Revision 1.53.36.17 / (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.53.36.16: +0 -3 lines
Diff to previous 1.53.36.16 to branch point 1.53
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.53.10.1.8.4 / (view) - annotate - [select for diffs] , Fri Jul 22 13:47:21 2011 UTC (9 months, 4 weeks ago) by sdsnyde
Branch: orange-next
Changes since 1.53.10.1.8.3: +8 -7 lines
Diff to previous 1.53.10.1.8.3 to branch point 1.53.10.1 to next main 1.53.10.2
changing llu handle references to strings

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

Revision 1.53.10.1.8.2 / (view) - annotate - [select for diffs] , Tue Jul 12 14:49:42 2011 UTC (10 months, 1 week ago) by mtmoore
Branch: orange-next
Changes since 1.53.10.1.8.1: +2 -18 lines
Diff to previous 1.53.10.1.8.1 to branch point 1.53.10.1
uuid converstation, PVFS_x_position changes, server/client side first pass done

Revision 1.53.10.1.8.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.53.10.1: +4 -4 lines
Diff to previous 1.53.10.1
changes to PVFS_handle_X

Revision 1.51.2.5 / (view) - annotate - [select for diffs] , Tue May 17 19:32:55 2011 UTC (12 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.51.2.4: +1 -0 lines
Diff to previous 1.51.2.4 to branch point 1.51 to next main 1.52
merge with Orange-Branch

Revision 1.53.10.1 / (view) - annotate - [select for diffs] , Fri May 6 17:36:20 2011 UTC (12 months, 2 weeks ago) by bligon
Branch: Orange-Branch
CVS Tags: windows-release-2-8-5-20110921, windows-client-to-Orange-Branch-20110712, test-slab-cache-patch, test-duplicate-patch, pnfs-merge, orangefs-2-8-5, becky-test-bed, Orange-security-premerge
Branch point for: orange-next
Changes since 1.53: +1 -0 lines
Diff to previous 1.53
Applied changes for RootSquash functionality that were missed when blue and
orange were merged several months ago.  Thanks to Bart Taylor for providing
the patches.
Modified Files:
  Tag: Orange-Branch
     src/server/mkdir.sm
     src/server/prelude.sm

Revision 1.53.36.16 / (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.53.36.15: +1 -1 lines
Diff to previous 1.53.36.15 to branch point 1.53
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.53.36.15 / (view) - annotate - [select for diffs] , Tue Mar 15 19:45:13 2011 UTC (14 months, 1 week ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.14: +3 -10 lines
Diff to previous 1.53.36.14 to branch point 1.53
Store dirdata attributes in keyval database for dirdata handles.

Revision 1.53.36.14 / (view) - annotate - [select for diffs] , Mon Dec 13 21:17:00 2010 UTC (17 months, 1 week ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.13: +1 -40 lines
Diff to previous 1.53.36.13 to branch point 1.53
1. sys-getattr only contact active dirdata servers. 2. cleanup mkdir. 3. fix a memory leak in PINT_free_object_attr.

Revision 1.53.36.13 / (view) - annotate - [select for diffs] , Mon Dec 6 21:26:00 2010 UTC (17 months, 2 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.12: +10 -2 lines
Diff to previous 1.53.36.12 to branch point 1.53
1. add >InitNumDirdataHandles< field to fs_config and default value set to 2. 2. add command line options >-n, --init-num-dirdata< to pvfs2-mkdir to set initial number of dirdata handles for a directory. (not yet applied to kernel module.)

Revision 1.53.36.12 / (view) - annotate - [select for diffs] , Fri Dec 3 22:17:46 2010 UTC (17 months, 2 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.11: +4 -8 lines
Diff to previous 1.53.36.11 to branch point 1.53
adjust mkdir.

Revision 1.53.36.11 / (view) - annotate - [select for diffs] , Mon Nov 29 23:30:56 2010 UTC (17 months, 3 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.10: +21 -1 lines
Diff to previous 1.53.36.10 to branch point 1.53
fixed pvfs2-fs-dump.

Revision 1.53.36.10 / (view) - annotate - [select for diffs] , Thu Oct 14 19:51:21 2010 UTC (19 months ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.9: +1 -1 lines
Diff to previous 1.53.36.9 to branch point 1.53
add dirdata_handle_rebuild in server remove.

Revision 1.53.36.9 / (view) - annotate - [select for diffs] , Thu Oct 7 18:48:49 2010 UTC (19 months, 1 week ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.8: +1 -12 lines
Diff to previous 1.53.36.8 to branch point 1.53
Clean up memory leaks.

Revision 1.53.36.8 / (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.53.36.7: +22 -10 lines
Diff to previous 1.53.36.7 to branch point 1.53
turn off permission check and little tree_setattr fix.

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

Revision 1.53.36.6 / (view) - annotate - [select for diffs] , Mon Sep 6 15:52:48 2010 UTC (20 months, 2 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.5: +70 -84 lines
Diff to previous 1.53.36.5 to branch point 1.53
replace write_keyval_to_local_dirdata_handle with write_keyval_to_meta_handle.

Revision 1.53.36.5 / (view) - annotate - [select for diffs] , Fri Sep 3 21:46:29 2010 UTC (20 months, 2 weeks ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.4: +50 -94 lines
Diff to previous 1.53.36.4 to branch point 1.53
Next round of distributed directory changes.

Revision 1.53.36.4 / (view) - annotate - [select for diffs] , Wed Sep 1 23:21:17 2010 UTC (20 months, 2 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.3: +6 -6 lines
Diff to previous 1.53.36.3 to branch point 1.53
adjust format of gossip bitmap in some process.

Revision 1.53.36.3 / (view) - annotate - [select for diffs] , Thu Aug 26 23:46:51 2010 UTC (20 months, 3 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.2: +15 -1 lines
Diff to previous 1.53.36.2 to branch point 1.53
1. add dist-dir-struct to root handle and lost+found handle
2. add dirdata bucket selection to several state machines, however, sys-rename and sys-readdir are not finished yet. There might be other state machines missing.
3. compilable, not expect to run correctly yet.
4. more to change.

Revision 1.53.36.2 / (view) - annotate - [select for diffs] , Mon Aug 23 00:10:16 2010 UTC (20 months, 4 weeks ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53.36.1: +381 -85 lines
Diff to previous 1.53.36.1 to branch point 1.53
incorporate dist-dir-struct to the source tree. It's compilable but not runnable. still have a lot to change and add. Commit as a touch base.

Revision 1.53.36.1 / (view) - annotate - [select for diffs] , Wed Aug 18 16:03:31 2010 UTC (21 months ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.53: +146 -24 lines
Diff to previous 1.53
*** empty log message ***

Revision 1.54 / (view) - annotate - [select for diffs] , Wed Jun 16 16:47:47 2010 UTC (23 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-mr-shim, HEAD
Changes since 1.53: +1 -0 lines
Diff to previous 1.53
fix root squash bug with mkdir

Revision 1.51.2.4 / (view) - annotate - [select for diffs] , Mon Jun 7 16:02:21 2010 UTC (23 months, 2 weeks ago) by nlmills
Branch: cu-security-branch
CVS Tags: cu-security-branch-premerge
Changes since 1.51.2.3: +3 -0 lines
Diff to previous 1.51.2.3 to branch point 1.51
cleaned up credential verification

Revision 1.53.24.2 / (view) - annotate - [select for diffs] , Thu Sep 10 17:23:03 2009 UTC (2 years, 8 months ago) by mtmoore
Branch: Orange-mtmoore
Changes since 1.53.24.1: +0 -1 lines
Diff to previous 1.53.24.1 to branch point 1.53 to next main 1.54
implementation of parent information in keyval databases and changes to get-path to use it

Revision 1.53.24.1 / (view) - annotate - [select for diffs] , Mon Sep 7 21:31:57 2009 UTC (2 years, 8 months ago) by mtmoore
Branch: Orange-mtmoore
Changes since 1.53: +38 -7 lines
Diff to previous 1.53
storing parent de implementation

Revision 1.51.2.3 / (view) - annotate - [select for diffs] , Tue Aug 25 17:56:28 2009 UTC (2 years, 8 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.51.2.2: +4 -4 lines
Diff to previous 1.51.2.2 to branch point 1.51
merged in changes from summer at LANL

Revision 1.53 / (view) - annotate - [select for diffs] , Tue Nov 25 18:26:13 2008 UTC (3 years, 5 months ago) by slang
Branch: MAIN
CVS Tags: windows-client, tr-branch, tcp-peer-comm-branch, solaris-point, solaris-branch, sa-branch, 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, pfsck-branch-point, pfsck-branch, orangefs-rel-20100813, orangefs-current, orangefs-20100920, 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, bmi-experimental-branch-point, bmi-experimental-branch, before-getattr, as-point, as-branch, aattrs-branch-point, aattrs-branch, Orange-Root, Orange-Migrate-Tools, 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, OB-DBPF-OPEN-CACHE-REMOVE, 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: Orange-mtmoore, Orange-Elaine-Distr-Dir-Branch, Orange-Branch
Changes since 1.52: +3 -3 lines
Diff to previous 1.52
fix server bugs due to merge.

Revision 1.52 / (view) - annotate - [select for diffs] , Thu Nov 20 01:17:10 2008 UTC (3 years, 6 months ago) by slang
Branch: MAIN
Changes since 1.51: +10 -11 lines
Diff to previous 1.51
merging hints/events code into trunk.

Revision 1.45.12.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.45: +49 -49 lines
Diff to previous 1.45 to next main 1.46
Reverse merged and ported to HEAD.

Revision 1.51.6.1 / (view) - annotate - [select for diffs] , Fri Jul 11 21:49:05 2008 UTC (3 years, 10 months ago) by rzhong
Branch: rongrong
CVS Tags: rr-txn
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 to next main 1.52
Added TROVE_SYNC in job_trove_keyval_write

Revision 1.51.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
CVS Tags: from_HEAD_NEW_FEATURE_ADD3
Changes since 1.51.2.1: +18 -1 lines
Diff to previous 1.51.2.1 to branch point 1.51
Updated security checking in state machines.  Added flags where needed.

Revision 1.51.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.51: +1 -1 lines
Diff to previous 1.51
modified permission checking to use callbacks instead of flags. added custom
checks to the io and small-io state machines.

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

Revision 1.50.6.1 / (view) - annotate - [select for diffs] , Thu Feb 21 02:10:21 2008 UTC (4 years, 3 months ago) by slang
Branch: small-file-branch
Changes since 1.50: +16 -0 lines
Diff to previous 1.50 to next main 1.51
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.50.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.50: +16 -0 lines
Diff to previous 1.50 to next main 1.51
Sam's prelude and scheduler updates

Revision 1.51 / (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, 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: rongrong, he-branch, cu-security-branch
Changes since 1.50: +16 -0 lines
Diff to previous 1.50
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.50 / (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.49: +0 -15 lines
Diff to previous 1.49
minor change allows state actions to not be declared at the top of *.sm files.

Revision 1.47.6.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.47: +45 -45 lines
Diff to previous 1.47 to next main 1.48
Merge HEAD changes to TAS-branch.

Revision 1.49 / (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.48: +43 -34 lines
Diff to previous 1.48
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.43.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.43.2.6: +2 -11 lines
Diff to previous 1.43.2.6 to branch point 1.43 to next main 1.44
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.45.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.45.4.1: +2 -11 lines
Diff to previous 1.45.4.1 to branch point 1.45 to next main 1.46
update to current CVS version because statecomp modifications are neat for my work, thanks!

Revision 1.48 / (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.47: +2 -11 lines
Diff to previous 1.47
Remove forward declarations of states.

Revision 1.45.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.45: +2 -3 lines
Diff to previous 1.45
Update migration branch to current CVS version

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

Revision 1.45.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.45.2.1: +4 -4 lines
Diff to previous 1.45.2.1 to branch point 1.45 to next main 1.46
add hints to job layer

Revision 1.45.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.45: +2 -3 lines
Diff to previous 1.45
backmerging of HEAD to branch...

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

Revision 1.47 / (view) - annotate - [select for diffs] , Sat Sep 16 20:56:48 2006 UTC (5 years, 8 months ago) by pw
Branch: MAIN
CVS Tags: tau-sandbox-point, tau-sandbox, 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.46: +0 -2 lines
Diff to previous 1.46
move frequently used extern declaration into a header file

Revision 1.46 / (view) - annotate - [select for diffs] , Wed Sep 13 19:09:38 2006 UTC (5 years, 8 months ago) by slang
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45
Override Murali's changes with my own that just copies the function.  Let the edit wars commence!

Revision 1.44.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.44: +1 -0 lines
Diff to previous 1.44 to next main 1.45
reverse merge from trunk.  working for now.

Revision 1.41.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.41.2.1: +5 -57 lines
Diff to previous 1.41.2.1 to branch point 1.41 to next main 1.42
Reverse merge changes from HEAD to posix-extensions-branch.

Revision 1.45 / (view) - annotate - [select for diffs] , Tue Aug 1 00:27:16 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.44: +1 -0 lines
Diff to previous 1.44
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.43.2.4 / (view) - annotate - [select for diffs] , Tue Jul 18 21:23:53 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.43.2.3: +4 -4 lines
Diff to previous 1.43.2.3 to branch point 1.43
Simple pint/ls/cp/diff test works

Revision 1.43.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.43.2.2: +18 -19 lines
Diff to previous 1.43.2.2 to branch point 1.43
Everything compiles.   Crap!  Now I have to see if it runs!!!

Revision 1.44 / (view) - annotate - [select for diffs] , Thu Jul 13 05:11:42 2006 UTC (5 years, 10 months ago) by slang
Branch: MAIN
CVS Tags: before-style-changes
Branch point for: kunkel-branch
Changes since 1.43: +4 -16 lines
Diff to previous 1.43
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.43.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.43.2.1: +9 -9 lines
Diff to previous 1.43.2.1 to branch point 1.43
correcting compile errors

Revision 1.43.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.43: +24 -14 lines
Diff to previous 1.43
updated to support SM control block interface

Revision 1.42.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.42: +0 -41 lines
Diff to previous 1.42 to next main 1.43
reverse merge of recent bug fixes from trunk

Revision 1.43 / (view) - annotate - [select for diffs] , Wed Jun 14 18:41:27 2006 UTC (5 years, 11 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-5-point2
Branch point for: WALT3
Changes since 1.42: +0 -41 lines
Diff to previous 1.42
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.41.4.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.41: +19 -18 lines
Diff to previous 1.41 to next main 1.42
Reverse merge from trunk to lockd-branch...

Revision 1.41.2.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
Changes since 1.41: +19 -18 lines
Diff to previous 1.41
reverse merge of branch

Revision 1.42 / (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.41: +19 -18 lines
Diff to previous 1.41
merge sync coalescing branch.

Revision 1.41.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.41.6.1: +16 -16 lines
Diff to previous 1.41.6.1 to branch point 1.41 to next main 1.42
fix deadlock bugs in coalescing code.  add proper state machine debugging.

Revision 1.41.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.41: +4 -3 lines
Diff to previous 1.41
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.41 / (view) - annotate - [select for diffs] , Tue Apr 4 04:47:14 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.40: +46 -3 lines
Diff to previous 1.40
onekeyval merge

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

Revision 1.40.4.3 / (view) - annotate - [select for diffs] , Thu Mar 16 21:18:44 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
Changes since 1.40.4.2: +2 -2 lines
Diff to previous 1.40.4.2 to branch point 1.40
2 bug fixes:

* fix the readdir code to return the error code to the client instead of assuming that an error just means the directory is empty.

* fix the init-to-zero of dirdata_size for new directories (root dir and lost+found).

Revision 1.40.4.2 / (view) - annotate - [select for diffs] , Mon Feb 27 20:49:07 2006 UTC (6 years, 2 months ago) by slang
Branch: dbpf-onekeyval-branch
CVS Tags: dbpf-slowskip
Changes since 1.40.4.1: +2 -1 lines
Diff to previous 1.40.4.1 to branch point 1.40
missing key string

Revision 1.40.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.40: +47 -3 lines
Diff to previous 1.40
mostly working onekey impl

Revision 1.40.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.40: +4 -4 lines
Diff to previous 1.40 to next main 1.41
immediate completion now turns on with: ImmediateCompletion yes option in fs config

Revision 1.38.18.1 / (view) - annotate - [select for diffs] , Fri Nov 11 22:19:12 2005 UTC (6 years, 6 months ago) by slang
Branch: slang-sio-branch
Changes since 1.38: +16 -15 lines
Diff to previous 1.38 to next main 1.39
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.39.2.1 / (view) - annotate - [select for diffs] , Fri Nov 11 21:38:16 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.39: +1 -0 lines
Diff to previous 1.39 to next main 1.40
committing lld/llu fixes to 1.3.1 branch

Revision 1.40 / (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.39: +1 -0 lines
Diff to previous 1.39
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.39 / (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.38: +15 -15 lines
Diff to previous 1.38
* 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.38.6.1 / (view) - annotate - [select for diffs] , Fri Jun 3 15:19:09 2005 UTC (6 years, 11 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.38: +7 -7 lines
Diff to previous 1.38 to next main 1.39
* 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.38 / (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-sio-point, 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-3-0, pvfs2-1-2-0, pvfs2-1-1-0, pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, WALT2, WALT1
Branch point for: slang-sio-branch, slang-event-changes-branch
Changes since 1.37: +44 -32 lines
Diff to previous 1.37
- 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.37 / (view) - annotate - [select for diffs] , Wed Sep 15 21:39:48 2004 UTC (7 years, 8 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-8-0, pvfs2-0-7-0, pvfs2-0-6-5
Changes since 1.36: +75 -43 lines
Diff to previous 1.36
break primary steps of mkdr sm out into a seperate nested machine to allow
for reuse

Revision 1.36 / (view) - annotate - [select for diffs] , Tue Aug 24 17:04:24 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-4, pvfs2-0-6-3
Changes since 1.35: +123 -27 lines
Diff to previous 1.35
- extend server side mkdir state machine to create the dirdata dspace
  when creating the directory (rather than waiting for crdirent to
  create it if it doesn't already exist).  this puts the fs in a
  better state for tools like fsck to analyze and moves the work into
  mkdir rather than crdirent (which makes more sense since the dirdata
  object is integral to our directories functioning properly)
- better error handling in mkdir (no longer blow away all error codes
  with -1)

Revision 1.35 / (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.34: +55 -50 lines
Diff to previous 1.34
- 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.34 / (view) - annotate - [select for diffs] , Wed Jul 28 14:32:55 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-1
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
- 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.33 / (view) - annotate - [select for diffs] , Mon Feb 16 23:08:22 2004 UTC (8 years, 3 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
Changes since 1.32: +7 -1 lines
Diff to previous 1.32
- 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.32 / (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.31: +3 -3 lines
Diff to previous 1.31
- rename all gossip masks to GOSSIP_xxx
- some misc cleanups

Revision 1.31 / (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.30: +1 -1 lines
Diff to previous 1.30
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.30 / (view) - annotate - [select for diffs] , Wed Nov 26 19:09:31 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-dbpf-attr-cache-branch, pvfs2-0-0-8, pvfs2-0-0-7
Changes since 1.29: +15 -36 lines
Diff to previous 1.29
- metadata storage overhaul (remove the METADATA_KEY from Trove_Common_Keys,
meaning that metadata is now properly stored in the dspace generic attributes
rather than as a separate key/val pair)
- clean up the 'find' test program to handle more than a fixed number of
  dirent entries
- misc other cleanups
- ChangeLog update

Revision 1.29 / (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-0-0-6, pvfs2-0-0-5
Changes since 1.28: +5 -5 lines
Diff to previous 1.28
boring 64-bit printf changes

Revision 1.28 / (view) - annotate - [select for diffs] , Mon Oct 6 17:30:00 2003 UTC (8 years, 7 months ago) by neill
Branch: MAIN
CVS Tags: snapshot-kraken-10-16-2003, pvfs2-0-0-4
Changes since 1.27: +17 -9 lines
Diff to previous 1.27
first draft of mkdir implementation as a state machine.  it is used by default
in the tree now.  fixed an annoyance in the test create program -- now it uses
getuid/getgid for creating new files.

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: pvfs2-0-0-3, pvfs2-0-0-2
Changes since 1.26: +2 -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: +2 -3 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: +2 -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: +3 -1 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] , Sun Jul 13 23:16:36 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
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.22 / (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.21: +1 -1 lines
Diff to previous 1.21
trying to rename some of the state machine handling functions to be more
consistent and reflect what they actually do

Revision 1.21 / (view) - annotate - [select for diffs] , Sat Jul 12 05:26:09 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.20: +6 -137 lines
Diff to previous 1.20
mkdir with a nested state machine

Revision 1.20 / (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.19: +1 -5 lines
Diff to previous 1.19
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.19 / (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.18: +7 -12 lines
Diff to previous 1.18
random cleanup; made response structure a static part of server op structure,
rather than dynamically allocating it for each operation

Revision 1.18 / (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.17: +4 -34 lines
Diff to previous 1.17
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.17 / (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.16: +50 -50 lines
Diff to previous 1.16
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.16 / (view) - annotate - [select for diffs] , Fri Jul 11 18:09:32 2003 UTC (8 years, 10 months ago) by robl
Branch: MAIN
Changes since 1.15: +0 -8 lines
Diff to previous 1.15
remove commented-out code

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 19:26:20 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
mkdir is now mostly functional, while crdirent is broken.  Some misc cleanups
as well.

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: +8 -1 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: +4 -4 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 -22 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: +0 -9 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] , Thu Jun 12 05:41:36 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
big nasty commit: converted all of the attribute masks to new
style, as found in pvfs2-types.h.  This required changing a
lot of code, most significantly in the pinode cache / pinode
helper area.  Also got rid of a pinode helper function that was
rendered unecessary after the attribute modifications.

System interface tests appear to behave just like before...

Things still aren't right, though!  But I think it will work at
least as well as before the commit, and is slightly more consistent.
Things that are still off:
- the mask should be stored inside the attributes structure,
  rather than kept in a seperate variable everywhere
- server currently ignores attribute masks entirely and does its
  own thing
- a lot of the client code, in particular getattr.c and the pinode
  helper/cache, make big assumptions about how attributes and
  masks can be handled.  In a lot of places they are just copied
  around as atomic units regardless of mask, for example.

I had to stop changing stuff somewhere...

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

Revision 1.5 / (view) - annotate - [select for diffs] , Thu May 29 16:44:32 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
Consolidated some redundant types in BMI and converted to a named
enumeration.  Required changing the name of the flags passed in to
bmi_memalloc() and bmi_memfree() all over the place, unfortunately.

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: +1 -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: +13 -6 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:54 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