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

Revision 1.75.2.1 / (view) - annotate - [select for diffs] , Mon Oct 3 16:32:15 2011 UTC (7 months, 2 weeks ago) by sson
Branch: tr-branch
Changes since 1.75: +10 -0 lines
Diff to previous 1.75
Added pvfs2-join.c under src/apps/admin dir.

Revision 1.74.36.5 / (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.74.36.4: +266 -1 lines
Diff to previous 1.74.36.4 to branch point 1.74 to next main 1.75
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.74.10.1.26.1 / (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.74.10.1: +26 -26 lines
Diff to previous 1.74.10.1 to next main 1.74.10.2
changing llu handle references to strings

Revision 1.74.36.4 / (view) - annotate - [select for diffs] , Thu Mar 17 22:17:23 2011 UTC (14 months ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.74.36.3: +2 -1 lines
Diff to previous 1.74.36.3 to branch point 1.74
store distdir struct in dirdata handle keyval space.

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

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

Revision 1.74.36.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
CVS Tags: distr-dir-pre-release
Changes since 1.74: +214 -15 lines
Diff to previous 1.74
Next round of distributed directory changes.

Revision 1.74.34.1 / (view) - annotate - [select for diffs] , Thu Jul 8 14:03:10 2010 UTC (22 months, 1 week ago) by mtmoore
Changes since 1.74: +4 -2 lines
Diff to previous 1.74 to next main 1.75
merging Orange Branch changes in

Revision 1.73.2.9 / (view) - annotate - [select for diffs] , Sat Jun 19 00:02:23 2010 UTC (23 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.73.2.8: +4 -2 lines
Diff to previous 1.73.2.8 to branch point 1.73 to next main 1.74
initial merge with Orange-Branch. much will be broken

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

Revision 1.74.10.1 / (view) - annotate - [select for diffs] , Fri Apr 30 20:00:55 2010 UTC (2 years ago) by bligon
Branch: Orange-Branch
CVS Tags: windows-release-2-8-5-20110921, windows-client-to-Orange-Branch-20110712, windows-client, test-slab-cache-patch, test-duplicate-patch, pre-dirent, pnfs-merge, orangefs-rel-20100813, orangefs-current, orangefs-20100920, orangefs-2-8-5, orangefs-2-8-4, orangefs-2-8-3-20110323, orangefs-2-8-3-2011-03-23, orangefs-2-8-3-20101113, orangefs-2-8-3-20101112, mtmoore-dbpf-txn, before-getattr, becky-test-bed, Orange-security-premerge, Orange-Migrate-Tools, OB-DBPF-OPEN-CACHE-REMOVE, B2O-Orange-Sync-Temp, B2O-Orange-Sync, B2O-Blue-Sync-Temp-End-2, B2O-Blue-Sync-Temp-End
Branch point for: orange-next
Changes since 1.74: +4 -2 lines
Diff to previous 1.74
merge of B2O-Blue-Sync,HEAD,and latest of Orange.

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

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

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

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

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

Revision 1.72.4.5 / (view) - annotate - [select for diffs] , Tue Sep 23 17:25:53 2008 UTC (3 years, 7 months ago) by elaine
Branch: cu-sandbox-branch
Changes since 1.72.4.4: +62 -80 lines
Diff to previous 1.72.4.4 to branch point 1.72 to next main 1.73
*** empty log message ***

Revision 1.73.2.6 / (view) - annotate - [select for diffs] , Thu Sep 18 21:12:33 2008 UTC (3 years, 8 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.73.2.5: +34 -4 lines
Diff to previous 1.73.2.5 to branch point 1.73
fixed setattr permission checks wrt changing a file's owner and group

Revision 1.73.2.5 / (view) - annotate - [select for diffs] , Tue Sep 16 17:43:58 2008 UTC (3 years, 8 months ago) by dbonnie
Branch: cu-security-branch
Changes since 1.73.2.4: +4 -0 lines
Diff to previous 1.73.2.4 to branch point 1.73
Updated setattr to set the owner of new files correctly.

Revision 1.66.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.66: +49 -48 lines
Diff to previous 1.66 to next main 1.67
Reverse merged and ported to HEAD.

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

Revision 1.73.2.3 / (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.73.2.2: +18 -1 lines
Diff to previous 1.73.2.2 to branch point 1.73
Updated security checking in state machines.  Added flags where needed.

Revision 1.73.2.2 / (view) - annotate - [select for diffs] , Wed Jun 11 19:52:46 2008 UTC (3 years, 11 months ago) by nlmills
Branch: cu-security-branch
Changes since 1.73.2.1: +1 -1 lines
Diff to previous 1.73.2.1 to branch point 1.73
defined read, write, execute, and setattr capabilities

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

Revision 1.72.4.4 / (view) - annotate - [select for diffs] , Tue May 13 16:22:46 2008 UTC (4 years ago) by elaine
Branch: cu-sandbox-branch
Changes since 1.72.4.3: +11 -11 lines
Diff to previous 1.72.4.3 to branch point 1.72
*** empty log message ***

Revision 1.72.4.3 / (view) - annotate - [select for diffs] , Tue May 13 15:40:16 2008 UTC (4 years ago) by elaine
Branch: cu-sandbox-branch
Changes since 1.72.4.2: +1 -1 lines
Diff to previous 1.72.4.2 to branch point 1.72
*** empty log message ***

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

Revision 1.72.4.2 / (view) - annotate - [select for diffs] , Tue Apr 1 16:53:08 2008 UTC (4 years, 1 month ago) by elaine
Branch: cu-sandbox-branch
Changes since 1.72.4.1: +61 -34 lines
Diff to previous 1.72.4.1 to branch point 1.72
Nested version of set-attr.sm

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

Revision 1.73 / (view) - annotate - [select for diffs] , Mon Feb 11 17:25:30 2008 UTC (4 years, 3 months ago) by slang
Branch: MAIN
CVS Tags: sumit-branch, small-file-branch-point4, small-file-branch-point3, small-file-branch-point2, rr-txn, rongrong, merge_MERGE_FROM_HEAD, merge_HEAD_NEW_FEATURE_ADD4, merge_HEAD_NEW_FEATURE_ADD3, merge_HEAD_NEW_FEATURE_ADD2, merge_HEAD_NEW_FEATURE_ADD, he-branch-point, fuse-support, from_MERGE_FROM_HEAD, from_HEAD_NEW_FEATURE_ADD2, directio-point, directio-branch, branch-rongrong, before-dio-merge, after-he-reverse-merge, Root_cu-security-branch
Branch point for: he-branch, cu-security-branch
Changes since 1.72: +12 -0 lines
Diff to previous 1.72
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.72 / (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.71: +0 -13 lines
Diff to previous 1.71
minor change allows state actions to not be declared at the top of *.sm files.

Revision 1.69.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.69: +43 -45 lines
Diff to previous 1.69 to next main 1.70
Merge HEAD changes to TAS-branch.

Revision 1.71 / (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.70: +42 -36 lines
Diff to previous 1.70
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.63.4.7 / (view) - annotate - [select for diffs] , Wed Apr 11 22:51:01 2007 UTC (5 years, 1 month ago) by slang
Branch: WALT3
Changes since 1.63.4.6: +1 -9 lines
Diff to previous 1.63.4.6 to branch point 1.63 to next main 1.64
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.66.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.66.4.1: +1 -9 lines
Diff to previous 1.66.4.1 to branch point 1.66 to next main 1.67
update to current CVS version because statecomp modifications are neat for my work, thanks!

Revision 1.70 / (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.69: +1 -9 lines
Diff to previous 1.69
Remove forward declarations of states.

Revision 1.66.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.66: +8 -4 lines
Diff to previous 1.66
Update migration branch to current CVS version

Revision 1.63.4.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.63.4.5: +3 -2 lines
Diff to previous 1.63.4.5 to branch point 1.63
reverse merge of HEAD to WALT3 branch.

Revision 1.66.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.66.2.1: +4 -4 lines
Diff to previous 1.66.2.1 to branch point 1.66 to next main 1.67
add hints to job layer

Revision 1.66.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.66: +8 -4 lines
Diff to previous 1.66
backmerging of HEAD to branch...

Revision 1.69 / (view) - annotate - [select for diffs] , Wed Sep 20 04:36:15 2006 UTC (5 years, 8 months ago) by slang
Branch: MAIN
CVS Tags: pvfs-2-6-point4, pvfs-2-6-point3, pvfs-2-6-point2, pvfs-2-6-point, pvfs-2-6-branch, pvfs-2-6-3-tag3, pvfs-2-6-3, pvfs-2-6-2, pvfs-2-6-1, pvfs-2-6-0, kunkel-hint-branch-point-26, kunkel-hint-branch-point-2007-02-17, dbpf-methods-point, dbpf-methods-branch, WALT3-point, WALT3-last-merged
Branch point for: pvfs2-kunkel-tas-branch
Changes since 1.68: +5 -0 lines
Diff to previous 1.68
* 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.63.4.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.63.4.4: +15 -24 lines
Diff to previous 1.63.4.4 to branch point 1.63
Merge HEAD into Walt's branch.
Rework new state machines to the new cleanups introduced by Walt.

Revision 1.68 / (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
Changes since 1.67: +0 -2 lines
Diff to previous 1.67
move frequently used extern declaration into a header file

Revision 1.67 / (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.66: +3 -2 lines
Diff to previous 1.66
Override Murali's changes with my own that just copies the function.  Let the edit wars commence!

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

Revision 1.61.2.2 / (view) - annotate - [select for diffs] , Wed Aug 9 20:17:56 2006 UTC (5 years, 9 months ago) by vilayann
Branch: posix-extensions-branch
CVS Tags: posix-extensions-point5, posix-extensions-point3
Changes since 1.61.2.1: +12 -22 lines
Diff to previous 1.61.2.1 to branch point 1.61 to next main 1.62
Reverse merge changes from HEAD to posix-extensions-branch.

Revision 1.66 / (view) - annotate - [select for diffs] , Tue Aug 8 02:16:06 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.65: +2 -1 lines
Diff to previous 1.65
Fix a bug found by LTP for the setattr operation on a symlink
(lchown system call -> setattr -> ..)

Revision 1.65 / (view) - annotate - [select for diffs] , Tue Aug 1 00:27:16 2006 UTC (5 years, 9 months ago) by vilayann
Branch: MAIN
Changes since 1.64: +6 -4 lines
Diff to previous 1.64
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.63.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.63.4.3: +4 -4 lines
Diff to previous 1.63.4.3 to branch point 1.63
Simple pint/ls/cp/diff test works

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

Revision 1.64 / (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.63: +4 -17 lines
Diff to previous 1.63
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.63.4.2 / (view) - annotate - [select for diffs] , Wed Jul 12 20:17:55 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.63.4.1: +7 -7 lines
Diff to previous 1.63.4.1 to branch point 1.63
correcting compile errors

Revision 1.63.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.63: +20 -12 lines
Diff to previous 1.63
updated to support SM control block interface

Revision 1.61.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.61: +13 -19 lines
Diff to previous 1.61 to next main 1.62
Reverse merge from trunk to lockd-branch...

Revision 1.61.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.61: +13 -19 lines
Diff to previous 1.61
reverse merge of branch

Revision 1.63 / (view) - annotate - [select for diffs] , Mon Jun 5 19:57:29 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.62: +13 -16 lines
Diff to previous 1.62
merge sync coalescing branch.

Revision 1.61.6.3 / (view) - annotate - [select for diffs] , Thu Jun 1 21:29:44 2006 UTC (5 years, 11 months ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.61.6.2: +0 -3 lines
Diff to previous 1.61.6.2 to branch point 1.61 to next main 1.62
reverse merge of trunk to branch

Revision 1.62 / (view) - annotate - [select for diffs] , Sun May 28 14:59:42 2006 UTC (5 years, 11 months ago) by pw
Branch: MAIN
Changes since 1.61: +0 -3 lines
Diff to previous 1.61
asserting unsigned variable non-negative is always true

Revision 1.61.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.61.6.1: +10 -14 lines
Diff to previous 1.61.6.1 to branch point 1.61
fix deadlock bugs in coalescing code.  add proper state machine debugging.

Revision 1.61.6.1 / (view) - annotate - [select for diffs] , Wed May 10 22:25:30 2006 UTC (6 years ago) by slang
Branch: dbpf-coalesce-branch
Changes since 1.61: +4 -3 lines
Diff to previous 1.61
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.61 / (view) - annotate - [select for diffs] , Thu Apr 6 16:06:32 2006 UTC (6 years, 1 month ago) by slang
Branch: MAIN
CVS Tags: posix-extensions-point, lockd-point, dbpf-coalesce-point
Branch point for: posix-extensions-branch, lockd-branch, dbpf-coalesce-branch
Changes since 1.60: +15 -3 lines
Diff to previous 1.60
change distribution storage encode/decode to use wire encoding.

Revision 1.60.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.60.4.1: +0 -3 lines
Diff to previous 1.60.4.1 to branch point 1.60 to next main 1.61
removed all the keyval type stuff.  Also my prefix callback doesn't seem to be working..

Revision 1.60.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.60: +3 -0 lines
Diff to previous 1.60
mostly working onekey impl

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

Revision 1.57.2.1 / (view) - annotate - [select for diffs] , Fri Nov 11 22:19:13 2005 UTC (6 years, 6 months ago) by slang
Branch: slang-sio-branch
Changes since 1.57: +41 -28 lines
Diff to previous 1.57 to next main 1.58
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.59.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.59: +1 -0 lines
Diff to previous 1.59 to next main 1.60
committing lld/llu fixes to 1.3.1 branch

Revision 1.60 / (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.59: +1 -0 lines
Diff to previous 1.59
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.59 / (view) - annotate - [select for diffs] , Thu Nov 10 01:27:14 2005 UTC (6 years, 6 months ago) by slang
Branch: MAIN
Branch point for: pvfs2-1-3-1-branch
Changes since 1.58: +28 -28 lines
Diff to previous 1.58
* 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.58 / (view) - annotate - [select for diffs] , Tue Nov 8 16:50:47 2005 UTC (6 years, 6 months ago) by robl
Branch: MAIN
Changes since 1.57: +12 -0 lines
Diff to previous 1.57
[pcarns]: create symlinks with permission 0777 and then make sure no one can
change the permissions to something else.  Symlinks should always have 777
permissions.

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

Revision 1.55.6.2 / (view) - annotate - [select for diffs] , Thu Aug 25 20:38:38 2005 UTC (6 years, 8 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.55.6.1: +12 -11 lines
Diff to previous 1.55.6.1 to branch point 1.55 to next main 1.56
updates to my event changes to bring them inline with trunk

Revision 1.56 / (view) - annotate - [select for diffs] , Tue Aug 23 18:44:20 2005 UTC (6 years, 8 months ago) by slang
Branch: MAIN
CVS Tags: pvfs2-1-3-0
Changes since 1.55: +12 -11 lines
Diff to previous 1.55
merged acache changes to trunk.

Revision 1.55.14.1 / (view) - annotate - [select for diffs] , Tue Jul 26 22:19:37 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.55: +12 -11 lines
Diff to previous 1.55 to next main 1.56
intermediate commit of acache changes to branch.

Revision 1.55.6.1 / (view) - annotate - [select for diffs] , Fri Jun 3 15:19:10 2005 UTC (6 years, 11 months ago) by slang
Branch: slang-event-changes-branch
Changes since 1.55: +6 -6 lines
Diff to previous 1.55
* 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.55 / (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-reqsched-point, slang-reqsched-branch, slang-event-changes-point, slang-attr-cache-fixups-point, pvfs2-tag-bugfix-67, pvfs2-snapshot-Alejandro, pvfs2-bugfix-67, pvfs2-bugfix-39, 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-event-changes-branch, slang-attr-cache-fixups-branch
Changes since 1.54: +77 -110 lines
Diff to previous 1.54
- 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.54 / (view) - annotate - [select for diffs] , Thu Sep 9 14:29:12 2004 UTC (7 years, 8 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-8-0, pvfs2-0-7-0, pvfs2-0-6-5
Changes since 1.53: +73 -120 lines
Diff to previous 1.53
- added a PVFS_util method to get the current system and return it as
  a valid PVFS_time type
- added arguments to the crdirent/chdirent/rmdirent operations that
  now can take optional parent atime/mtime/ctime fields
- added support on server *dirent operations that update the parent
  time attributes (if specified) on successful completion of the
  *dirent operation; null/zero time fields are not updated
- modified sys-create/sys-mkdir/sys-symlink/sys-rename/sys-remove to
  work with the new operations properly; in general,
  create/remove/rename operations updates the mtime and ctime of the
  parent directory, which is now properly supported
- moved some common server side attribute handling code into a macro
  to make it re-useable across several server state machines
- updated en{de}coding of modified operations
- misc cleanups

Revision 1.53 / (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-4, pvfs2-0-6-3
Changes since 1.52: +12 -0 lines
Diff to previous 1.52
- error code sanity checks, better error handling, and cleanups on the
  sysint, le-encoder, and related server operations

Revision 1.52 / (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.51: +10 -10 lines
Diff to previous 1.51
- 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.51 / (view) - annotate - [select for diffs] , Wed Jul 28 14:32:56 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-6-1
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
- 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.50 / (view) - annotate - [select for diffs] , Fri Jul 23 15:12:59 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.49: +7 -14 lines
Diff to previous 1.49
- pvfs2-server cleanups, including better error handling in many
  places
- organize command line options into a single struct to avoid growing
  number of declared static vars in pvfs2-server
- fix the pidfile usage (which didn't work at all for me, particularly
  using the -p option that getopt_long couldn't possibly have
  understood);  now you can do the standard 'kill `cat
  pvfs2-server.pidfile`' to properly terminate the server
- remove broken url from comment and just state the problem and refer
  to the thread in question

Revision 1.48.2.1 / (view) - annotate - [select for diffs] , Mon Jun 14 17:02:19 2004 UTC (7 years, 11 months ago) by neill
Branch: pvfs2-nm-nb-branch
Changes since 1.48: +7 -5 lines
Diff to previous 1.48 to next main 1.49
- improve human readable size reporting
- allow human readable size reporting to use si units
- fix job-dev test program due to job dev api change
- fix memory leak of unexpected sm pointers
- add --si option to pvfs2-ls (similar to ls's --si option)
- add -H option to pvfs2-statfs (similar to du's -H option)
- merge with cvs head

Revision 1.49 / (view) - annotate - [select for diffs] , Mon Jun 14 16:46:31 2004 UTC (7 years, 11 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-0-6-0pre1, pvfs2-0-6-0
Changes since 1.48: +7 -5 lines
Diff to previous 1.48
possible fix for Nathan's dfile_count/dist_size bug?
- preserve incoming mask on setattr rather than trimming to common subset
- key writing of dist/dfiles off of DIST/DFILE mask rather than just TYPE mask

Revision 1.48 / (view) - annotate - [select for diffs] , Wed Jun 2 21:41:04 2004 UTC (7 years, 11 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-5-1
Branch point for: pvfs2-nm-nb-branch
Changes since 1.47: +4 -6 lines
Diff to previous 1.47
- clean up translation of mode to pvfs2 permissions function
- make use of the function in other places
- add some debugging
- make sure setattr sets meta fields on disk to 0 if not a metafile
- modify getattr/setattr in the following way:

  the server now allows the getattr/setattr operation to pass
  permission checks in the additional cases that the file owner is ==
  credentials.uid OR the credentials.uid == 0.  this will certainly
  need modification, as it doesn't allow things like root_squashing.
  i've modified this behaviour because other file systems allow
  setattr/getattr operations on objects that do not have write/read
  permissions by the user (or at all in fact), which we previously
  required.  this doesn't take into account parent dirs/access
  controls -- as the vfs takes care of a good deal of that.  a simple
  example of where we fail is when a tarball unpacks/creates a new
  file with permissions 444 (r--r--r--) and a utime is issued after
  it.  the utime would fail because we don't have user write access on
  the file, so we'd get all kinds of warnings.

Revision 1.47 / (view) - annotate - [select for diffs] , Fri May 21 18:52:07 2004 UTC (8 years ago) by neill
Branch: MAIN
Changes since 1.46: +18 -14 lines
Diff to previous 1.46
- for non-blocking the passed in sys_attr structures need to be copied
  to avoid stack corruption/bunk values (similar to credential problem;
  there are probably more instances just like this, and they'll be fixed
  as they come)

Revision 1.46 / (view) - annotate - [select for diffs] , Mon May 17 15:57:35 2004 UTC (8 years ago) by bradles
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
Updates for distribution renamings.

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

Revision 1.44 / (view) - annotate - [select for diffs] , Mon Feb 16 23:08:22 2004 UTC (8 years, 3 months ago) by neill
Branch: MAIN
Changes since 1.43: +6 -1 lines
Diff to previous 1.43
- 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.43 / (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.42: +132 -145 lines
Diff to previous 1.42
- rename all gossip masks to GOSSIP_xxx
- some misc cleanups

Revision 1.42 / (view) - annotate - [select for diffs] , Mon Jan 19 15:56:23 2004 UTC (8 years, 4 months ago) by pcarns
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
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.41 / (view) - annotate - [select for diffs] , Fri Dec 5 14:09:36 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
CVS Tags: pvfs2-0-0-8, pvfs2-0-0-7
Changes since 1.40: +2 -1 lines
Diff to previous 1.40
This is a full merge of my pvfs2-dbpf-attr-cache-branch, so this is
the cumulative changelog (based on existing cvs messages).

- initial dbpf-attr-cache implementation and cleanups
- added all the hooks to grab configurable cacheable metadata keys
  from a config file.  re-arranged the config file by separating out
  fs specific hints into a StorageHints area.  updated genconfig to
  account for these changes.
- initial working implementation of the unified dbpf-attr and
  keyval/data pair cache.  holy cow this thing is fast... much work to
  be done still.
- initial locking added
- replaced debug level with a new DBPF_ATTRCACHE_DEBUG level
- added safe to/from cache data copies
- added write-through caching for keyval data (still need to do generic attrs)
- updated simple.conf
- allow config file to have multiple AttrCacheKeywords lines
- fix some cache parts that allow symlinks to work (i.e. be cached)
- added a verbose warning for a particular kind of configuration error
  for a user to see if it should happen
- some more robust configure checks
- more configure related changes
  disable vis build if sdl is detected, but sdl-ttf isn't
- fix broken ifdef nesting that caused compilation failure on non
  aio-threaded configurations
- safe copy of attributes (to/from, preparing for write-through impl)
- server cleanups (making way for pre-caching of a number of attrs on server
  startup since it reads them from disk during handle iterate anyway)
- update create test program to report human readable creation error
- put some quick human readable error reporting in pvfs2-client-core
- added some quickhash method we've been wanting but never had
- implemented policy to limit previously unbounded size of attr cache
- adjusted simple.conf to have some good defaults
- adjusted pvfs2-genconfig to match those defaults
- fixed some htable cleanups
- started write-through attr updates
- update changelog and version info, preparing for mainline merge
- implement write-through of dbpf-resize operation
- make sys-truncate return -PVFS_EINVAL if truncate is called on an object
  that can't be truncated
- fix error code return value of sys-truncate
- cosmetic changes to truncate test program output
- added some comments
- updated showconfig with copyright info
- updated sample configs for showconfig
- added a default handle purgatory value if a value of zero is specified
  (e.g. not specified in config file at all)
- for now, remove the cached dbpf-attr object on i/o writes
- slightly robustify the glibc aio callback detection

Revision 1.40.2.1 / (view) - annotate - [select for diffs] , Mon Dec 1 17:48:46 2003 UTC (8 years, 5 months ago) by neill
Branch: pvfs2-dbpf-attr-cache-branch
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 to next main 1.41
initial dbpf-attr-cache implementation and cleanups

Revision 1.40 / (view) - annotate - [select for diffs] , Wed Nov 26 19:09:31 2003 UTC (8 years, 5 months ago) by neill
Branch: MAIN
Branch point for: pvfs2-dbpf-attr-cache-branch
Changes since 1.39: +32 -35 lines
Diff to previous 1.39
- 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.39 / (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.38: +20 -20 lines
Diff to previous 1.38
boring 64-bit printf changes

Revision 1.38 / (view) - annotate - [select for diffs] , Fri Sep 26 19:08:15 2003 UTC (8 years, 7 months ago) by pcarns
Branch: MAIN
CVS Tags: snapshot-kraken-10-16-2003, pvfs2-0-0-4
Changes since 1.37: +0 -1 lines
Diff to previous 1.37
got rid of some irritating messages, we don't need this printing all the time

Revision 1.37 / (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.36: +4 -0 lines
Diff to previous 1.36
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.36 / (view) - annotate - [select for diffs] , Thu Aug 21 15:18:37 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.35: +9 -5 lines
Diff to previous 1.35
attempts to get symlink targets written and read from disk.

Revision 1.35 / (view) - annotate - [select for diffs] , Thu Aug 21 14:56:08 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.34: +72 -3 lines
Diff to previous 1.34
another step closer to getting symlink specific attribute data written to
(and able to be read from) disk

Revision 1.34 / (view) - annotate - [select for diffs] , Thu Aug 21 14:08:15 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.33: +10 -4 lines
Diff to previous 1.33
properly handle situation when we don't have valid symlink fields in the
request attr object.

Revision 1.33 / (view) - annotate - [select for diffs] , Thu Aug 21 12:25:43 2003 UTC (8 years, 9 months ago) by neill
Branch: MAIN
Changes since 1.32: +15 -10 lines
Diff to previous 1.32
started making progress toward getting symlink support.  got sidetracked
along the way trying to work out an easy method to unify sys-create,
sys-symlink, and sys-mkdir all at once.  create should work as normal, but
the rest of the changes shouldn't affect functionality (i.e. symlink doesn't
remotely work, sys-mkdir, isn't there yet).

Revision 1.32 / (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.31: +3 -4 lines
Diff to previous 1.31
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.31 / (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.30: +1 -1 lines
Diff to previous 1.30
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.30 / (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.29: +5 -7 lines
Diff to previous 1.29
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.29 / (view) - annotate - [select for diffs] , Tue Jul 15 15:17:44 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.28: +105 -39 lines
Diff to previous 1.28
Properly write out the dfile_count and dist_size on meta files instead of
finding it chowdered on the next getattr.  Also try to honor individual
attr masks when writing.  added some gossip too.

Revision 1.28 / (view) - annotate - [select for diffs] , Tue Jul 15 12:17:55 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.27: +58 -24 lines
Diff to previous 1.27
minor setattr changes; still trying to track down a bug

Revision 1.27 / (view) - annotate - [select for diffs] , Mon Jul 14 15:35:15 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.26: +32 -117 lines
Diff to previous 1.26
cleaned up set-attr.sm a little by relying on attributes read by prelude
state machine

Revision 1.26 / (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.25: +2 -3 lines
Diff to previous 1.25
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.25 / (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.24: +1 -1 lines
Diff to previous 1.24
trying to rename some of the state machine handling functions to be more
consistent and reflect what they actually do

Revision 1.24 / (view) - annotate - [select for diffs] , Sat Jul 12 15:41:34 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.23: +7 -97 lines
Diff to previous 1.23
final response nested machine for set-attr

Revision 1.23 / (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.22: +2 -9 lines
Diff to previous 1.22
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.22 / (view) - annotate - [select for diffs] , Sat Jul 12 02:02:57 2003 UTC (8 years, 10 months ago) by pcarns
Branch: MAIN
Changes since 1.21: +2 -5 lines
Diff to previous 1.21
random cleanup; made response structure a static part of server op structure,
rather than dynamically allocating it for each operation

Revision 1.21 / (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.20: +14 -49 lines
Diff to previous 1.20
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.20 / (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.19: +64 -64 lines
Diff to previous 1.19
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.19 / (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.18: +1 -1 lines
Diff to previous 1.18
even though phill pointed out how to do this in .vimrc, add the modelines

Revision 1.18 / (view) - annotate - [select for diffs] , Thu Jul 10 19:39:58 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.17: +34 -17 lines
Diff to previous 1.17
More attribute related fixes (along the lines of the last changes)

Revision 1.17 / (view) - annotate - [select for diffs] , Thu Jul 10 19:10:00 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.16: +2 -0 lines
Diff to previous 1.16
Made quite a bit of progress in trying to no longer ignore the attributes
of meta files, at least when it comes to the dfiles and dist information.
Much more attr progress will be needed, but I think this is a good start in
the right direction.  the set-info program properly updates the access time
of the specified file on disk and get-info can retrieve it.

Revision 1.16 / (view) - annotate - [select for diffs] , Thu Jul 10 16:36:01 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
Use a consistent error code of -1, rather than 1 to make the sysint properly
acknowledge the error when it occurs.

Revision 1.15 / (view) - annotate - [select for diffs] , Thu Jul 10 16:24:02 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.14: +47 -14 lines
Diff to previous 1.14
If attributes for a handle/object exist on disk and we get a set-attr,
we now check to make sure that the request isn't trying to change the
object type.  This might break stuff.

Revision 1.14 / (view) - annotate - [select for diffs] , Thu Jul 10 15:24:01 2003 UTC (8 years, 10 months ago) by neill
Branch: MAIN
Changes since 1.13: +8 -6 lines
Diff to previous 1.13
Avoid a memory allocation during server side set-attr by adding scratch
space (an attr object) to the server op structure.

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: +9 -9 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: +1 -3 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 -20 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 -10 lines
Diff to previous 1.8
now using pvfs error codes; cleaned up includes all around; still trying to make it possible to move the state machine code in a reasonable way.

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

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

Revision 1.6 / (view) - annotate - [select for diffs] , Wed Jun 18 01:00:13 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.5: +6 -6 lines
Diff to previous 1.5
cleaned up the metafile attributes structure

Revision 1.5 / (view) - annotate - [select for diffs] , Tue Jun 17 19:39:14 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.4: +3 -0 lines
Diff to previous 1.4
next phase of attribute cleanup:
- added mask field to obj attribute structure
- remove seperate mask value from pinode struct and several functions,
  including sysint functions
- made server store mask value properly and report it back- even though it
  still ignores which mask fields are set in getattr and setattr requests
- for now, made it so that number of datafiles _cannot_ be specified at
  sys_create time by setting fields in the attributes structure directly.
  Until this issue is resolved, there is currently no way to pick the
  number of datafiles at create time- it is always chosen by system.
- misc. other related cleanup

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] , Fri May 30 16:27:41 2003 UTC (8 years, 11 months ago) by pcarns
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2
changed PVFS_time typedef so that it is based on int64_t rather than
time_t (getting rid of dependance on system specific type).

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: +15 -7 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