CVS log for pvfs2/src/server/lookup.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.59.10.3 / (view) - annotate - [select for diffs] , Fri Nov 4 20:40:45 2011 UTC (6 months, 2 weeks ago) by sampson
Branch: Orange-Branch
CVS Tags: Orange-security-postmerge
Changes since 1.59.10.2: +101 -523 lines
Diff to previous 1.59.10.2 to branch point 1.59 to next main 1.60
Merged robust security code into Orange-Branch.

Revision 1.59.10.2.18.2 / (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.59.10.2.18.1: +9 -8 lines
Diff to previous 1.59.10.2.18.1 to branch point 1.59.10.2 to next main 1.59.10.3
changing llu handle references to strings

Revision 1.59.10.2.18.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.59.10.2: +14 -10 lines
Diff to previous 1.59.10.2
changes to PVFS_handle_X

Revision 1.57.2.15 / (view) - annotate - [select for diffs] , Tue Mar 15 21:38:46 2011 UTC (14 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.57.2.14: +101 -523 lines
Diff to previous 1.57.2.14 to branch point 1.57 to next main 1.58
redesigned lookup code to work with security

Revision 1.59.34.8 / (view) - annotate - [select for diffs] , Mon Mar 14 19:52:10 2011 UTC (14 months, 1 week ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
CVS Tags: distdir_orange_before_merge_20110817
Changes since 1.59.34.7: +1 -1 lines
Diff to previous 1.59.34.7 to branch point 1.59 to next main 1.60
Additional changes for adding a type field to keys in the keyval database

Revision 1.57.2.14 / (view) - annotate - [select for diffs] , Sat Feb 26 08:22:39 2011 UTC (14 months, 3 weeks ago) by nlmills
Branch: cu-security-branch
Changes since 1.57.2.13: +478 -32 lines
Diff to previous 1.57.2.13 to branch point 1.57
reverted to Orange-Branch version of lookup code. many modifications will
be needed before the code will compile again.

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

Revision 1.59.34.6 / (view) - annotate - [select for diffs] , Mon Oct 11 22:50:58 2010 UTC (19 months, 1 week ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.59.34.5: +12 -2 lines
Diff to previous 1.59.34.5 to branch point 1.59
in lookup, compare server names to decide local or remote instead of rely on dist_dir_attr.server_no.

Revision 1.59.34.5 / (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.59.34.4: +14 -8 lines
Diff to previous 1.59.34.4 to branch point 1.59
Clean up memory leaks.

Revision 1.59.34.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.59.34.3: +1 -2 lines
Diff to previous 1.59.34.3 to branch point 1.59
Merged in changes from Orange-Branch. There were a number of bugs fixed there since this branch was created.

Revision 1.61 / (view) - annotate - [select for diffs] , Thu Sep 30 16:08:53 2010 UTC (19 months, 3 weeks ago) by slang
Branch: MAIN
CVS Tags: pvfs2-mr-shim, HEAD
Changes since 1.60: +1 -1 lines
Diff to previous 1.60
fix bug with passing s_op instead of smcb

Revision 1.59.2.2 / (view) - annotate - [select for diffs] , Thu Sep 30 16:07:08 2010 UTC (19 months, 3 weeks ago) by slang
Branch: pvfs-2-8-branch
Changes since 1.59.2.1: +1 -1 lines
Diff to previous 1.59.2.1 to branch point 1.59 to next main 1.60
fix bug with passing s_op instead of smcb

Revision 1.59.10.2 / (view) - annotate - [select for diffs] , Wed Sep 29 18:07:43 2010 UTC (19 months, 3 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, 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, becky-test-bed, Orange-security-premerge, OB-DBPF-OPEN-CACHE-REMOVE
Branch point for: orange-next
Changes since 1.59.10.1: +1 -1 lines
Diff to previous 1.59.10.1 to branch point 1.59
Corrected call to job_trove_keyval_read.  Passed in smcb instead of s_op.

Revision 1.59.34.3 / (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.59.34.2: +143 -10 lines
Diff to previous 1.59.34.2 to branch point 1.59
Fixes to lookup.

Revision 1.59.34.2 / (view) - annotate - [select for diffs] , Mon Sep 6 21:30:01 2010 UTC (20 months, 2 weeks ago) by elaine
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.59.34.1: +18 -2 lines
Diff to previous 1.59.34.1 to branch point 1.59
Partial fix to lookup problems.

Revision 1.59.34.1 / (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.59: +157 -19 lines
Diff to previous 1.59
Next round of distributed directory changes.

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

Revision 1.57.2.13 / (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.57.2.12: +0 -1 lines
Diff to previous 1.57.2.12 to branch point 1.57
initial merge with Orange-Branch. much will be broken

Revision 1.59.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-client, pre-dirent, orangefs-rel-20100813, orangefs-current, orangefs-20100920, mtmoore-dbpf-txn, before-getattr, Orange-Migrate-Tools, B2O-Orange-Sync-Temp, B2O-Orange-Sync, B2O-Blue-Sync-Temp-End-2, B2O-Blue-Sync-Temp-End
Changes since 1.59: +0 -1 lines
Diff to previous 1.59
merge of B2O-Blue-Sync,HEAD,and latest of Orange.

Revision 1.59.38.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.59: +0 -1 lines
Diff to previous 1.59 to next main 1.60
commiting changes from merge of Orange and Blue into test branch.

Revision 1.59.2.1 / (view) - annotate - [select for diffs] , Thu Oct 1 16:23:21 2009 UTC (2 years, 7 months ago) by slang
Branch: pvfs-2-8-branch
CVS Tags: pvfs-2-8-2-rc1, pvfs-2-8-2
Changes since 1.59: +0 -1 lines
Diff to previous 1.59
merge from HEAD: http://www.pvfs.org/fisheye/changelog/PVFS/?cs=MAIN:pcarns:20090721184004

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

Revision 1.60 / (view) - annotate - [select for diffs] , Tue Jul 21 18:40:07 2009 UTC (2 years, 10 months ago) by pcarns
Branch: MAIN
CVS Tags: tr-branch, pfsck-branch-point, pfsck-branch, my-point, B2O-Temp, B2O-Blue-Sync
Changes since 1.59: +0 -1 lines
Diff to previous 1.59
patch from Bart Taylor; moves permission checking code back to common
directory in order to add safety checks for truncate operation permission

Revision 1.59 / (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-1, pvfs-2-8-0, 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.58: +5 -6 lines
Diff to previous 1.58
merging hints/events code into trunk.

Revision 1.57.2.11 / (view) - annotate - [select for diffs] , Thu Jul 31 14:41:23 2008 UTC (3 years, 9 months ago) by dbonnie
Branch: cu-security-branch
Changes since 1.57.2.10: +3 -37 lines
Diff to previous 1.57.2.10 to branch point 1.57
Updated lookup, remove, getattr, create client side.  Comments in lookup server side.  Check code updated for new file creation.  Server cleaned up unnecessary runtime variables.  Remove serverside updated to use capabilities.

Revision 1.57.2.10 / (view) - annotate - [select for diffs] , Tue Jul 29 22:23:05 2008 UTC (3 years, 9 months ago) by dbonnie
Branch: cu-security-branch
Changes since 1.57.2.9: +22 -444 lines
Diff to previous 1.57.2.9 to branch point 1.57
Updated lookup/getattr on server/client.

Revision 1.57.2.9 / (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.57.2.8: +18 -3 lines
Diff to previous 1.57.2.8 to branch point 1.57
Updated client and server state machines to work with capabilities.  Lookup needs some cleaning server side since it does unneeded permission checking.

Revision 1.57.2.8 / (view) - annotate - [select for diffs] , Mon Jul 21 22:02:52 2008 UTC (3 years, 10 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.57.2.7: +8 -0 lines
Diff to previous 1.57.2.7 to branch point 1.57
updated all references in include/, src/client/, src/common/, src/io/,
src/proto/, and src/server/ to use the new PVFS_credential in place of the
old PVFS_credentials. the admin apps in particular need to be updated to use
the new API.

Revision 1.48.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.48: +91 -78 lines
Diff to previous 1.48 to next main 1.49
Reverse merged and ported to HEAD.

Revision 1.57.4.2 / (view) - annotate - [select for diffs] , Thu Jul 10 21:44:10 2008 UTC (3 years, 10 months ago) by slang
Branch: he-branch
Changes since 1.57.4.1: +1 -1 lines
Diff to previous 1.57.4.1 to branch point 1.57 to next main 1.58
reverse merge of trunk changes since branch.

Revision 1.57.2.7 / (view) - annotate - [select for diffs] , Tue Jun 24 18:19:25 2008 UTC (3 years, 10 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.57.2.6: +34 -28 lines
Diff to previous 1.57.2.6 to branch point 1.57
reverted to an earlier version of the lookup code

Revision 1.56.6.2 / (view) - annotate - [select for diffs] , Tue Jun 24 15:02:11 2008 UTC (3 years, 10 months ago) by pcarns
Branch: small-file-branch
Changes since 1.56.6.1: +2 -1 lines
Diff to previous 1.56.6.1 to branch point 1.56 to next main 1.57
reverse merge latest trunk changes to small-file-branch and update msgpair
usage where needed

Revision 1.57.2.6 / (view) - annotate - [select for diffs] , Tue Jun 17 15:42:16 2008 UTC (3 years, 11 months ago) by dbonnie
Branch: cu-security-branch
CVS Tags: from_HEAD_NEW_FEATURE_ADD3
Changes since 1.57.2.5: +28 -34 lines
Diff to previous 1.57.2.5 to branch point 1.57
ACL checks done before standard permissions.  check.c updated to determine failure mode (if invalid/missing ACL return EIO, if permission denied return EACCES)

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

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

Revision 1.57.2.3 / (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.57.2.2: +1 -1 lines
Diff to previous 1.57.2.2 to branch point 1.57
modified permission checking to use callbacks instead of flags. added custom
checks to the io and small-io state machines.

Revision 1.57.2.2 / (view) - annotate - [select for diffs] , Wed Jun 4 14:43:03 2008 UTC (3 years, 11 months ago) by dbonnie
Branch: cu-security-branch
Changes since 1.57.2.1: +1 -0 lines
Diff to previous 1.57.2.1 to branch point 1.57
Merge from HEAD

Revision 1.58 / (view) - annotate - [select for diffs] , Thu May 29 18:26:18 2008 UTC (3 years, 11 months ago) by nlmills
Branch: MAIN
CVS Tags: sumit-branch, small-file-branch-point4, small-file-branch-point3, rr-txn, rongrong, merge_MERGE_FROM_HEAD, merge_HEAD_NEW_FEATURE_ADD4, merge_HEAD_NEW_FEATURE_ADD3, fuse-support, directio-point, directio-branch, branch-rongrong, before-dio-merge, after-he-reverse-merge
Changes since 1.57: +2 -1 lines
Diff to previous 1.57
bug fix in server lookup state machine

Revision 1.57.2.1 / (view) - annotate - [select for diffs] , Wed May 28 20:47:26 2008 UTC (3 years, 11 months ago) by dbonnie
Branch: cu-security-branch
CVS Tags: from_MERGE_FROM_HEAD
Changes since 1.57: +1 -1 lines
Diff to previous 1.57
Fixed a bug in the lookup state machine (nlmills).  Moved code around in check.h/.c.  Fixed spacing in server.c.

Revision 1.57.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.57: +5 -5 lines
Diff to previous 1.57
hints and events.

Revision 1.56.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.56: +14 -3 lines
Diff to previous 1.56
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.56.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.56: +14 -3 lines
Diff to previous 1.56 to next main 1.57
Sam's prelude and scheduler updates

Revision 1.57 / (view) - annotate - [select for diffs] , Mon Feb 11 17:25:29 2008 UTC (4 years, 3 months ago) by slang
Branch: MAIN
CVS Tags: small-file-branch-point2, merge_HEAD_NEW_FEATURE_ADD2, merge_HEAD_NEW_FEATURE_ADD, he-branch-point, from_HEAD_NEW_FEATURE_ADD2, Root_cu-security-branch
Branch point for: he-branch, cu-security-branch
Changes since 1.56: +14 -3 lines
Diff to previous 1.56
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.56 / (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.55: +0 -19 lines
Diff to previous 1.55
minor change allows state actions to not be declared at the top of *.sm files.

Revision 1.55 / (view) - annotate - [select for diffs] , Fri Jul 20 19:37:06 2007 UTC (4 years, 10 months ago) by pw
Branch: MAIN
Changes since 1.54: +1 -0 lines
Diff to previous 1.54
Move some server-only functions out of src/common/misc into src/server.
These functions happen not to compile on clients without getpwuid support.

Revision 1.54 / (view) - annotate - [select for diffs] , Wed Jun 27 13:16:22 2007 UTC (4 years, 10 months ago) by slang
Branch: MAIN
CVS Tags: twod-branch-point, twod-branch
Changes since 1.53: +8 -6 lines
Diff to previous 1.53
murali's fix of lookup bug.

Revision 1.50.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.50: +86 -70 lines
Diff to previous 1.50 to next main 1.51
Merge HEAD changes to TAS-branch.

Revision 1.53 / (view) - annotate - [select for diffs] , Fri Apr 13 05:14:30 2007 UTC (5 years, 1 month ago) by slang
Branch: MAIN
CVS Tags: kunkel-tas-branch-2007-05-23, kunkel-migration-hint-branch-point-2007-06-17
Changes since 1.52: +71 -51 lines
Diff to previous 1.52
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.45.4.9 / (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.45.4.8: +17 -21 lines
Diff to previous 1.45.4.8 to branch point 1.45 to next main 1.46
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.48.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.48.4.1: +1 -12 lines
Diff to previous 1.48.4.1 to branch point 1.48 to next main 1.49
update to current CVS version because statecomp modifications are neat for my work, thanks!

Revision 1.52 / (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.51: +1 -12 lines
Diff to previous 1.51
Remove forward declarations of states.

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

Revision 1.48.2.3 / (view) - annotate - [select for diffs] , Sat Feb 17 10:39:38 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.48.2.2: +14 -7 lines
Diff to previous 1.48.2.2 to branch point 1.48 to next main 1.49
Sync hint-branch to current CVS version

Revision 1.51 / (view) - annotate - [select for diffs] , Fri Feb 2 02:09:01 2007 UTC (5 years, 3 months ago) by slang
Branch: MAIN
CVS Tags: kunkel-hint-branch-point-2007-02-17
Changes since 1.50: +14 -7 lines
Diff to previous 1.50
merge 2.6 branch changes to head

Revision 1.45.4.8 / (view) - annotate - [select for diffs] , Mon Jan 8 16:47:32 2007 UTC (5 years, 4 months ago) by walt
Branch: WALT3
Changes since 1.45.4.7: +8 -0 lines
Diff to previous 1.45.4.7 to branch point 1.45
fixed an error where a SM frame is incorrectly freed

Revision 1.50.8.1 / (view) - annotate - [select for diffs] , Wed Dec 13 19:54:01 2006 UTC (5 years, 5 months ago) by slang
Branch: pvfs-2-6-branch
CVS Tags: pvfs-2-6-3-tag3, pvfs-2-6-3, pvfs-2-6-2, pvfs-2-6-1
Changes since 1.50: +14 -7 lines
Diff to previous 1.50 to next main 1.51
quiet some general warnings

Revision 1.45.4.7 / (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.45.4.6: +7 -6 lines
Diff to previous 1.45.4.6 to branch point 1.45
reverse merge of HEAD to WALT3 branch.

Revision 1.48.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.48.2.1: +4 -4 lines
Diff to previous 1.48.2.1 to branch point 1.48
add hints to job layer

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

Revision 1.50 / (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-0, kunkel-hint-branch-point-26, dbpf-methods-point, dbpf-methods-branch, WALT3-point, WALT3-last-merged
Branch point for: pvfs2-kunkel-tas-branch, pvfs-2-6-branch
Changes since 1.49: +7 -4 lines
Diff to previous 1.49
* 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.45.4.6 / (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.45.4.5: +144 -6 lines
Diff to previous 1.45.4.5 to branch point 1.45
Merge HEAD into Walt's branch.
Rework new state machines to the new cleanups introduced by Walt.

Revision 1.49 / (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.48: +0 -2 lines
Diff to previous 1.48
move frequently used extern declaration into a header file

Revision 1.44.2.3 / (view) - annotate - [select for diffs] , Sun Sep 3 17:44:13 2006 UTC (5 years, 8 months ago) by vilayann
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point5
Changes since 1.44.2.2: +140 -2 lines
Diff to previous 1.44.2.2 to branch point 1.44 to next main 1.45
Reverse merges from HEAD..

Revision 1.46.2.1 / (view) - annotate - [select for diffs] , Tue Aug 29 10:41:26 2006 UTC (5 years, 8 months ago) by kunkel
Branch: kunkel-branch
Changes since 1.46: +140 -2 lines
Diff to previous 1.46 to next main 1.47
Backmerge with HEAD

Revision 1.48 / (view) - annotate - [select for diffs] , Wed Aug 23 19:39:39 2006 UTC (5 years, 8 months ago) by slang
Branch: MAIN
CVS Tags: version-lock-branch, version-lock-actual-branch, threaded-aio-point, threaded-aio-branch, posix-extensions-point7, posix-extensions-point6, kunkel-branches-point, kunkel-alternativeIO-branch
Branch point for: locking-branch, kunkel-migration-branch, kunkel-hint-branch
Changes since 1.47: +10 -1 lines
Diff to previous 1.47
PINT_decode does some inplace decoding, so we need to keep the unexpected buffer around until the state machine completes.

Don't assert on malloc failures!

Revision 1.47 / (view) - annotate - [select for diffs] , Thu Aug 17 08:11:51 2006 UTC (5 years, 9 months ago) by vilayann
Branch: MAIN
Changes since 1.46: +130 -1 lines
Diff to previous 1.46
Whew.. Final bits of the acl puzzle (hopefully!).
Clearly, ACLs require support at the server. (what was I thinking earlier? :))
Patch adds a PINT_check_acls() function that does that. the pvfs2_acl_entry structure is moved to a common
header file shared between kernel module and server.
When PINT_check_mode() throws up its hand in despair, ACL checks are done. NOTE: ACLs dont impose a performance
overhead when permission checks go through properly. When they fail, we post a job_trove_keyval_read()
and when that completes, we check if ACLs allow the operation to proceed.
Added a lot more debug statements.
It is unfortunately not enough to change only prelude sm, but lookup sm also had to be modified
to check for acls. sigh..

Hopefully, this does not break anything else. Simple preliminary tests dont seem to indicate any borkennes.
All but 2 of the LTP acl tests seem to be working now I think...

Revision 1.44.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-point3
Changes since 1.44.2.1: +2 -4 lines
Diff to previous 1.44.2.1 to branch point 1.44
Reverse merge changes from HEAD to posix-extensions-branch.

Revision 1.45.4.5 / (view) - annotate - [select for diffs] , Wed Jul 19 18:37:06 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.45.4.4: +1 -1 lines
Diff to previous 1.45.4.4 to branch point 1.45
minor update

Revision 1.45.4.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.45.4.3: +3 -3 lines
Diff to previous 1.45.4.3 to branch point 1.45
Simple pint/ls/cp/diff test works

Revision 1.45.4.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.45.4.2: +23 -23 lines
Diff to previous 1.45.4.2 to branch point 1.45
Everything compiles.   Crap!  Now I have to see if it runs!!!

Revision 1.46 / (view) - annotate - [select for diffs] , Thu Jul 13 05:11:42 2006 UTC (5 years, 10 months ago) by slang
Branch: MAIN
CVS Tags: posix-extensions-point4, before-style-changes
Branch point for: kunkel-branch
Changes since 1.45: +2 -4 lines
Diff to previous 1.45
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.45.4.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.45.4.1: +8 -8 lines
Diff to previous 1.45.4.1 to branch point 1.45
correcting compile errors

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

Revision 1.44.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.44: +6 -15 lines
Diff to previous 1.44 to next main 1.45
Reverse merge from trunk to lockd-branch...

Revision 1.44.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.44: +6 -15 lines
Diff to previous 1.44
reverse merge of branch

Revision 1.45 / (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_1_for_bgl3, pvfs2-1_5_1_for_bgl2, pvfs2-1_5_1_for_bgl, pvfs2-1-5-point2, pvfs2-1-5-point, pvfs2-1-5-branch, pvfs2-1-5-1-rc3, pvfs2-1-5-1-rc2, pvfs2-1-5-1-rc1, pvfs2-1-5-1, pvfs2-1-5-0-rc5, pvfs2-1-5-0-rc4, pvfs2-1-5-0-rc3, pvfs2-1-5-0-rc2, pvfs2-1-5-0-rc1, pvfs2-1-5-0, posix-extensions-point2, lockd-point2
Branch point for: WALT3
Changes since 1.44: +6 -15 lines
Diff to previous 1.44
merge sync coalescing branch.

Revision 1.44.6.1 / (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.44: +6 -15 lines
Diff to previous 1.44 to next main 1.45
fix deadlock bugs in coalescing code.  add proper state machine debugging.

Revision 1.44 / (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.43: +2 -1 lines
Diff to previous 1.43
onekeyval merge

Revision 1.43.4.2 / (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.43.4.1: +2 -2 lines
Diff to previous 1.43.4.1 to branch point 1.43 to next main 1.44
removed all the keyval type stuff.  Also my prefix callback doesn't seem to be working..

Revision 1.43.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
CVS Tags: dbpf-slowskip
Changes since 1.43: +3 -2 lines
Diff to previous 1.43
mostly working onekey impl

Revision 1.43.2.1 / (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.43: +12 -2 lines
Diff to previous 1.43 to next main 1.44
fixes to immediate completion code.

Revision 1.41.4.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.41: +9 -5 lines
Diff to previous 1.41 to next main 1.42
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.42.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.42: +1 -0 lines
Diff to previous 1.42 to next main 1.43
committing lld/llu fixes to 1.3.1 branch

Revision 1.43 / (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.42: +1 -0 lines
Diff to previous 1.42
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.42 / (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.41: +8 -5 lines
Diff to previous 1.41
* 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.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.38.6.1: +34 -2 lines
Diff to previous 1.38.6.1 to branch point 1.38 to next main 1.39
updates to my event changes to bring them inline with trunk

Revision 1.40.2.1 / (view) - annotate - [select for diffs] , Wed Aug 10 19:38:08 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.40: +12 -0 lines
Diff to previous 1.40 to next main 1.41
merge changes from trunk since branch point into branch.  Effectively moves the branchpoint to the latest trunk.

Revision 1.41 / (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-sio-point, slang-reqsched-point, slang-reqsched-branch, pvfs2-1-3-0
Branch point for: slang-sio-branch
Changes since 1.40: +12 -0 lines
Diff to previous 1.40
[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.40 / (view) - annotate - [select for diffs] , Thu Jul 7 21:43:46 2005 UTC (6 years, 10 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.39: +2 -2 lines
Diff to previous 1.39
[pcarns]: fix bogus error messages

Revision 1.39 / (view) - annotate - [select for diffs] , Wed Jun 8 19:30:30 2005 UTC (6 years, 11 months ago) by robl
Branch: MAIN
CVS Tags: pvfs2-1-1-0
Changes since 1.38: +20 -0 lines
Diff to previous 1.38
Merge in all of phil's patches fixing up permissions checking as described
here:
http://www.parl.clemson.edu/pipermail/pvfs2-developers/2005-June/001258.html

Revision 1.38.10.1 / (view) - annotate - [select for diffs] , Wed Jun 8 19:25:18 2005 UTC (6 years, 11 months ago) by robl
Branch: pvfs2-bugfix-67
Changes since 1.38: +20 -0 lines
Diff to previous 1.38 to next main 1.39
The last of the early june phil patches.  "Make PVFS2 honor directory
executable bit permissions properly"

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
* 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 Sep 1 17:32:02 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: snapshot-bluegene-20050216, slang-event-changes-point, pvfs2-tag-bugfix-67, pvfs2-snapshot-Alejandro, pvfs2-bugfix-39, pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, pvfs2-0-8-0, pvfs2-0-7-0, pvfs2-0-6-5, pvfs2-0-6-4, WALT2, WALT1
Branch point for: slang-event-changes-branch, pvfs2-bugfix-67
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
- make pvfs2-ls show the mtime for long listings instead of the atime
- make set-info test program update the mtime, rather than atime
- fixed bug on I/O that didn't do an opencache 'put' to release the
  descriptor in use from the cache (pointed out by Avery)
- replace tabs in dbpf-keyval.c
- misc cleanups

Revision 1.37 / (view) - annotate - [select for diffs] , Tue Aug 17 17:51:24 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-3
Changes since 1.36: +111 -141 lines
Diff to previous 1.36
- error code sanity checks, better error handling, and cleanups on the
  sysint, le-encoder, and related server operations

Revision 1.36 / (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-2, pvfs2-0-6-1
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
- 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.35 / (view) - annotate - [select for diffs] , Thu Apr 15 18:33:30 2004 UTC (8 years, 1 month ago) by pw
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
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
fix 64-bit compilation warnings

Revision 1.34 / (view) - annotate - [select for diffs] , Mon Mar 29 19:47:44 2004 UTC (8 years, 1 month ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-1-2
Changes since 1.33: +13 -11 lines
Diff to previous 1.33
- remove unused extern variable in kernel code
- cleanup some gossip and comments in server side lookup

Revision 1.33 / (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-1-1, pvfs2-0-1-0, pvfs2-0-0-9
Changes since 1.32: +8 -8 lines
Diff to previous 1.32
- rename all gossip masks to GOSSIP_xxx
- some misc cleanups

Revision 1.32 / (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.31: +1 -1 lines
Diff to previous 1.31
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.31 / (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.30: +90 -99 lines
Diff to previous 1.30
- 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.30 / (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.29: +7 -7 lines
Diff to previous 1.29
boring 64-bit printf changes

Revision 1.29 / (view) - annotate - [select for diffs] , Fri Oct 10 14:55:38 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.28: +9 -18 lines
Diff to previous 1.28
bugfixes; cleanups; more lookup work -- now we support full symlink resolution
by default (link semantics will change later) up to an arbitrary depth of
8 links deep

Revision 1.28 / (view) - annotate - [select for diffs] , Thu Oct 9 17:27:16 2003 UTC (8 years, 7 months ago) by neill
Branch: MAIN
Changes since 1.27: +70 -27 lines
Diff to previous 1.27
a more sane lookup implementation that appears to work (at least in prelim
testing) properly across multiple meta-data servers.  cleanups will
follow, as well as additional functionality (such as symlink following).

locally, I've got a 2 meta-server setup that runs pts and all sysint test
programs properly!

Revision 1.27 / (view) - annotate - [select for diffs] , Wed Oct 8 18:47:06 2003 UTC (8 years, 7 months ago) by neill
Branch: MAIN
Changes since 1.26: +77 -67 lines
Diff to previous 1.26
first draft client sysint lookup implementation as a state machine (only
partially complete).  seems to be about as good as the previous lookup, so
the original sys_lookup is replaced by this one by default as of this checkin.
fixed a getattr bug that forced a size read query on the same server, even
if multiple servers are being used; added a dmkdir test program for testing
distributed lookup (in progress); updated changelog to add some previously
added features (in prep for next release); probably some other things

Revision 1.26 / (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.25: +3 -0 lines
Diff to previous 1.25
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.25 / (view) - annotate - [select for diffs] , Thu Aug 21 14:01:06 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.24: +15 -1 lines
Diff to previous 1.24
okay symlink creation (i.e. setattr) and getattr on the type seems to work now.
lookup still needs work to make them useful.

Revision 1.24 / (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.23: +3 -4 lines
Diff to previous 1.23
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.23 / (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.22: +1 -1 lines
Diff to previous 1.22
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.22 / (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.21: +7 -7 lines
Diff to previous 1.21
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.21 / (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.20: +2 -3 lines
Diff to previous 1.20
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.20 / (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.19: +1 -1 lines
Diff to previous 1.19
trying to rename some of the state machine handling functions to be more
consistent and reflect what they actually do

Revision 1.19 / (view) - annotate - [select for diffs] , Sat Jul 12 05:09:29 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.18: +30 -89 lines
Diff to previous 1.18
lookup now uses final_response nested state machine

Revision 1.18 / (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.17: +2 -9 lines
Diff to previous 1.17
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.17 / (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.16: +18 -19 lines
Diff to previous 1.16
random cleanup; made response structure a static part of server op structure,
rather than dynamically allocating it for each operation

Revision 1.16 / (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.15: +13 -13 lines
Diff to previous 1.15
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.15 / (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.14: +48 -48 lines
Diff to previous 1.14
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.14 / (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.13: +1 -1 lines
Diff to previous 1.13
even though phill pointed out how to do this in .vimrc, add the modelines

Revision 1.13 / (view) - annotate - [select for diffs] , Thu Jul 10 14:53:32 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.12: +16 -6 lines
Diff to previous 1.12
changed some error handling behavior.  I don't think this is right, but is
better than what we had before...

Revision 1.12 / (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.11: +1 -0 lines
Diff to previous 1.11
Added mode lines to emacs directives so emacs knows what to do with these files.

Revision 1.11 / (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.10: +8 -8 lines
Diff to previous 1.10
Cleaned up naming of state machines in server so we don't have the "clashing with syscall names" problem any more.

Revision 1.10 / (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.9: +0 -1 lines
Diff to previous 1.9
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.9 / (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.8: +0 -10 lines
Diff to previous 1.8
More random cleanup.  Still working on making the state machine code movable.

Revision 1.8 / (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.7: +2 -10 lines
Diff to previous 1.7
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.7 / (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.6: +3 -3 lines
Diff to previous 1.6
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.6 / (view) - annotate - [select for diffs] , Mon Jun 30 22:53:44 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5
last bit of req proto limit enforcement for now; mostly server side

Revision 1.5 / (view) - annotate - [select for diffs] , Thu Jun 19 00:48:31 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.4: +5 -4 lines
Diff to previous 1.4
cleaned up lookup_path response structure- in particular made the size of
the handle and attribute arrays explicit

Revision 1.4 / (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.3: +1 -1 lines
Diff to previous 1.3
turned the "bmi_flag_t buffer_flag" variable into a named enumeration
"enum bmi_buffer_type buffer_type"

Revision 1.3 / (view) - annotate - [select for diffs] , Wed Apr 16 14:41:55 2003 UTC (9 years, 1 month ago) by neill
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Replaced str_utils with str-utils before it gets out of hand.

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