CVS log for pvfs2/src/server/truncate.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.10.10.1 / (view) - annotate - [select for diffs] , Fri Nov 4 20:40:48 2011 UTC (6 months, 2 weeks ago) by sampson
Branch: Orange-Branch
CVS Tags: Orange-security-postmerge
Changes since 1.10: +18 -1 lines
Diff to previous 1.10
Merged robust security code into Orange-Branch.

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

Revision 1.10 / (view) - annotate - [select for diffs] , Thu Nov 20 01:17:11 2008 UTC (3 years, 6 months ago) by slang
Branch: MAIN
CVS Tags: windows-release-2-8-5-20110921, windows-client-to-Orange-Branch-20110712, windows-client, tr-branch, test-slab-cache-patch, test-duplicate-patch, tcp-peer-comm-branch, solaris-point, solaris-branch, sa-branch, pvfs2-mr-shim, pvfs2, pvfs-2-8-point, pvfs-2-8-branch, pvfs-2-8-2-rc1, pvfs-2-8-2, pvfs-2-8-1, pvfs-2-8-0, pre-dirent, pnfs-merge, pfsck-branch-point, pfsck-branch, orangefs-rel-20100813, orangefs-current, orangefs-20100920, orangefs-2-8-5, orangefs-2-8-4, orangefs-2-8-3-20110323, orangefs-2-8-3-2011-03-23, orangefs-2-8-3-20101113, orangefs-2-8-3-20101112, orange-next, my-point, mtmoore-dbpf-txn, distr-dir-pre-release, distdir_orange_before_merge_20110817, bmi-experimental-branch-point, bmi-experimental-branch, before-getattr, becky-test-bed, as-point, as-branch, aattrs-branch-point, aattrs-branch, Orange-security-premerge, Orange-mtmoore, Orange-Root, Orange-Migrate-Tools, Orange-Merge1, Orange-FailOver-small-io, Orange-FailOver-Becky, Orange-Elaine-Distr-Dir-Root, Orange-Elaine-Distr-Dir-Branch, Orange-Elaine-Branch, Orange-Branch-metadata-backup, Orage-Elaine-Root, ORANGE-BECKY-ROOT, ORANGE-BECKY-BRANCH, OB-DBPF-OPEN-CACHE-REMOVE, HEAD, B2O-Temp, B2O-Orange-Sync-Temp, B2O-Orange-Sync, B2O-Merge-Test, B2O-Blue-Sync-Temp-End-2, B2O-Blue-Sync-Temp-End, B2O-Blue-Sync-Temp, B2O-Blue-Sync
Branch point for: Orange-Branch
Changes since 1.9: +2 -1 lines
Diff to previous 1.9
merging hints/events code into trunk.

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

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

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

Revision 1.9.2.1 / (view) - annotate - [select for diffs] , Thu Jun 5 20:38:46 2008 UTC (3 years, 11 months ago) by dbonnie
Branch: cu-security-branch
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
Added permission checking to truncate operations.

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

Revision 1.8.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.8: +12 -0 lines
Diff to previous 1.8 to next main 1.9
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.8.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.8: +12 -0 lines
Diff to previous 1.8 to next main 1.9
Sam's prelude and scheduler updates

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

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

Revision 1.7 / (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.6: +16 -15 lines
Diff to previous 1.6
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.5.4.5 / (view) - annotate - [select for diffs] , Wed Apr 11 22:51:02 2007 UTC (5 years, 1 month ago) by slang
Branch: WALT3
Changes since 1.5.4.4: +1 -6 lines
Diff to previous 1.5.4.4 to branch point 1.5 to next main 1.6
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.5.10.1 / (view) - annotate - [select for diffs] , Sun Feb 18 09:19:55 2007 UTC (5 years, 3 months ago) by kunkel
Branch: kunkel-migration-branch
Changes since 1.5: +1 -6 lines
Diff to previous 1.5 to next main 1.6
update to current CVS version because statecomp modifications are neat for my work, thanks!

Revision 1.6 / (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.5: +1 -6 lines
Diff to previous 1.5
Remove forward declarations of states.

Revision 1.5.8.1 / (view) - annotate - [select for diffs] , Tue Sep 26 13:03:12 2006 UTC (5 years, 7 months ago) by kunkel
Branch: kunkel-hint-branch
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 to next main 1.6
hint is given down to Trove

Revision 1.5.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.5.4.3: +1 -1 lines
Diff to previous 1.5.4.3 to branch point 1.5
Simple pint/ls/cp/diff test works

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

Revision 1.5.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.5.4.1: +4 -4 lines
Diff to previous 1.5.4.1 to branch point 1.5
correcting compile errors

Revision 1.5.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.5: +9 -6 lines
Diff to previous 1.5
updated to support SM control block interface

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

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

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

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

Revision 1.4.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.4: +3 -3 lines
Diff to previous 1.4 to next main 1.5
* 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.4 / (view) - annotate - [select for diffs] , Tue Aug 17 17:51:24 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: snapshot-bluegene-20050216, slang-sio-point, slang-sio-branch, slang-reqsched-point, slang-reqsched-branch, slang-event-changes-point, slang-attr-cache-fixups-point2, slang-attr-cache-fixups-point, slang-attr-cache-fixups-branch, pvfs2-tag-bugfix-67, pvfs2-snapshot-Alejandro, pvfs2-bugfix-67, pvfs2-bugfix-39, pvfs2-1-4-0-point, pvfs2-1-4-0-branch, pvfs2-1-4-0, pvfs2-1-3-2, pvfs2-1-3-1-branch, pvfs2-1-3-1, pvfs2-1-3-0, pvfs2-1-2-0, pvfs2-1-1-0, pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, pvfs2-0-8-0, pvfs2-0-7-0, pvfs2-0-6-5, pvfs2-0-6-4, pvfs2-0-6-3, posix-extensions-point, lockd-point, dbpf-slowskip, dbpf-onekeyval-point, dbpf-onekeyval-branch, dbpf-coalesce-point, dbpf-changes-branch, dbpf-changes, before-dbpf-onekeyval, WALT2, WALT1
Branch point for: slang-event-changes-branch, posix-extensions-branch, lockd-branch, dbpf-coalesce-branch
Changes since 1.3: +40 -54 lines
Diff to previous 1.3
- error code sanity checks, better error handling, and cleanups on the
  sysint, le-encoder, and related server operations

Revision 1.3 / (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-2, pvfs2-0-6-1
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
- 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.2 / (view) - annotate - [select for diffs] , Mon Jan 19 15:56:23 2004 UTC (8 years, 4 months ago) by pcarns
Branch: MAIN
CVS Tags: pvfs2-nm-nb-branch, pvfs2-0-6-0pre1, pvfs2-0-6-0, pvfs2-0-5-1, pvfs2-0-5-0, pvfs2-0-1-3, pvfs2-0-1-2, pvfs2-0-1-1, pvfs2-0-1-0, pvfs2-0-0-9
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
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.1 / (view) - annotate - [select for diffs] , Thu Sep 4 16:52:57 2003 UTC (8 years, 8 months ago) by robl
Branch: MAIN
CVS Tags: snapshot-kraken-10-16-2003-B, snapshot-kraken-10-16-2003, pvfs2-dbpf-attr-cache-branch, pvfs2-0-0-8, pvfs2-0-0-7, pvfs2-0-0-6, pvfs2-0-0-5, pvfs2-0-0-4, pvfs2-0-0-3
missed this on the last round:  truncate state machine

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