CVS log for pvfs2/src/server/proto-error.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.11.8.2 / (view) - annotate - [select for diffs] , Fri Nov 4 20:40:46 2011 UTC (6 months, 2 weeks ago) by sampson
Branch: Orange-Branch
CVS Tags: Orange-security-postmerge
Changes since 1.11.8.1: +11 -0 lines
Diff to previous 1.11.8.1 to branch point 1.11
Merged robust security code into Orange-Branch.

Revision 1.11.34.1 / (view) - annotate - [select for diffs] , Fri Aug 19 15:50:16 2011 UTC (9 months ago) by shuangy
Branch: Orange-Elaine-Distr-Dir-Branch
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
merge with Orange-Branch

Revision 1.8.2.6 / (view) - annotate - [select for diffs] , Thu Jan 13 20:11:47 2011 UTC (16 months, 1 week ago) by nlmills
Branch: cu-security-branch
Changes since 1.8.2.5: +1 -1 lines
Diff to previous 1.8.2.5 to branch point 1.8 to next main 1.9
merge with Orange-Branch

Revision 1.11.8.1 / (view) - annotate - [select for diffs] , Tue Dec 21 15:34:12 2010 UTC (16 months, 4 weeks ago) by mtmoore
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, orange-next, becky-test-bed, Orange-security-premerge, OB-DBPF-OPEN-CACHE-REMOVE
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
Namespace collision of ENCODING_DEFAULT with an in-tree kernel module in newer (circa 2.6.33) kernels, just a #define rename.

Revision 1.8.2.5 / (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.8.2.4: +1 -1 lines
Diff to previous 1.8.2.4 to branch point 1.8
initial merge with Orange-Branch. much will be broken

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

Revision 1.10.2.1 / (view) - annotate - [select for diffs] , Fri Mar 6 22:06:53 2009 UTC (3 years, 2 months ago) by slang
Branch: pvfs-2-8-branch
CVS Tags: pvfs-2-8-2-rc1, pvfs-2-8-2
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 to next main 1.11
merge bugfix from head.

Revision 1.11 / (view) - annotate - [select for diffs] , Fri Mar 6 22:06:03 2009 UTC (3 years, 2 months ago) by slang
Branch: MAIN
CVS Tags: windows-client, tr-branch, tcp-peer-comm-branch, solaris-point, solaris-branch, sa-branch, pvfs2-mr-shim, pvfs2, pre-dirent, pfsck-branch-point, pfsck-branch, orangefs-rel-20100813, orangefs-current, orangefs-20100920, orangefs-2-8-3-20101113, orangefs-2-8-3-20101112, my-point, mtmoore-dbpf-txn, distr-dir-pre-release, distdir_orange_before_merge_20110817, bmi-experimental-branch-point, bmi-experimental-branch, before-getattr, as-point, as-branch, aattrs-branch-point, aattrs-branch, Orange-mtmoore, Orange-Root, Orange-Migrate-Tools, Orange-Merge1, Orange-FailOver-small-io, Orange-FailOver-Becky, Orange-Elaine-Distr-Dir-Root, Orange-Elaine-Branch, Orange-Branch-metadata-backup, Orage-Elaine-Root, ORANGE-BECKY-ROOT, ORANGE-BECKY-BRANCH, 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-Elaine-Distr-Dir-Branch, Orange-Branch
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
fix segv on proto mismatch.

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: pvfs-2-8-point, pvfs-2-8-1, pvfs-2-8-0
Branch point for: pvfs-2-8-branch
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
merging hints/events code into trunk.

Revision 1.8.4.2 / (view) - annotate - [select for diffs] , Tue Nov 11 19:10:12 2008 UTC (3 years, 6 months ago) by slang
Branch: he-branch
Changes since 1.8.4.1: +0 -2 lines
Diff to previous 1.8.4.1 to branch point 1.8 to next main 1.9
reverse merge from HEAD.

Revision 1.8.10.1 / (view) - annotate - [select for diffs] , Mon Nov 10 20:44:31 2008 UTC (3 years, 6 months ago) by slang
Branch: directio-branch
Changes since 1.8: +0 -2 lines
Diff to previous 1.8 to next main 1.9
reverse merge from HEAD to directio branch

Revision 1.9 / (view) - annotate - [select for diffs] , Wed Oct 8 18:38:28 2008 UTC (3 years, 7 months ago) by pcarns
Branch: MAIN
CVS Tags: before-dio-merge, after-he-reverse-merge
Changes since 1.8: +0 -2 lines
Diff to previous 1.8
Fix bug in BMI reference counting.  Previously the server was responsible
for both incrementing and decrementing count while working on a state
machine, but this leaves a window of time between completion of
testunexpected() and the start of a state machine.  If a connection was
reset during this window it could cause state machine to try to use
non-existent BMI address, with some odd results.

This patch adds a flag that the server can use to have BMI automatically
increment reference count on any unexpected message before it is passed to
the server for processing.

Revision 1.4.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.4: +15 -9 lines
Diff to previous 1.4 to next main 1.5
Reverse merged and ported to HEAD.

Revision 1.8.2.3 / (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.8.2.2: +1 -4 lines
Diff to previous 1.8.2.2 to branch point 1.8
state machine permission checking code cleanup

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

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

Revision 1.8.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.8: +1 -1 lines
Diff to previous 1.8
hints and events.

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

Revision 1.8 / (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, branch-rongrong, Root_cu-security-branch
Branch point for: he-branch, directio-branch, cu-security-branch
Changes since 1.7: +6 -0 lines
Diff to previous 1.7
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.7 / (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.6: +0 -5 lines
Diff to previous 1.6
minor change allows state actions to not be declared at the top of *.sm files.

Revision 1.4.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.4: +13 -8 lines
Diff to previous 1.4 to next main 1.5
Merge HEAD changes to TAS-branch.

Revision 1.6 / (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.5: +12 -7 lines
Diff to previous 1.5
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.4.4.6 / (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.4.4.5: +1 -1 lines
Diff to previous 1.4.4.5 to branch point 1.4 to next main 1.5
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.4.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.4: +1 -1 lines
Diff to previous 1.4 to next main 1.5
update to current CVS version because statecomp modifications are neat for my work, thanks!

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

Revision 1.4.8.1 / (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.4: +1 -1 lines
Diff to previous 1.4 to next main 1.5
add hints to job layer

Revision 1.4.4.5 / (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.4.4.4: +1 -1 lines
Diff to previous 1.4.4.4 to branch point 1.4
Simple pint/ls/cp/diff test works

Revision 1.4.4.4 / (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.4.4.3: +5 -6 lines
Diff to previous 1.4.4.3 to branch point 1.4
Everything compiles.   Crap!  Now I have to see if it runs!!!

Revision 1.4.4.3 / (view) - annotate - [select for diffs] , Thu Jul 13 17:57:11 2006 UTC (5 years, 10 months ago) by walt
Branch: WALT3
Changes since 1.4.4.2: +1 -1 lines
Diff to previous 1.4.4.2 to branch point 1.4
removing compile errors

Revision 1.4.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.4.4.1: +2 -2 lines
Diff to previous 1.4.4.1 to branch point 1.4
correcting compile errors

Revision 1.4.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.4: +10 -4 lines
Diff to previous 1.4
updated to support SM control block interface

Revision 1.3.16.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.3: +0 -3 lines
Diff to previous 1.3 to next main 1.4
Reverse merge from trunk to lockd-branch...

Revision 1.3.14.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.3: +0 -3 lines
Diff to previous 1.3 to next main 1.4
reverse merge of branch

Revision 1.4 / (view) - annotate - [select for diffs] , Mon Jun 5 19:57:28 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.3: +0 -3 lines
Diff to previous 1.3
merge sync coalescing branch.

Revision 1.3.18.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.3: +0 -3 lines
Diff to previous 1.3 to next main 1.4
fix deadlock bugs in coalescing code.  add proper state machine debugging.

Revision 1.2.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.2.6.1: +3 -1 lines
Diff to previous 1.2.6.1 to branch point 1.2 to next main 1.3
updates to my event changes to bring them inline with trunk

Revision 1.2.14.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.2: +3 -1 lines
Diff to previous 1.2 to next main 1.3
merge changes from trunk since branch point into branch.  Effectively moves the branchpoint to the latest trunk.

Revision 1.3 / (view) - annotate - [select for diffs] , Tue Jul 19 21:12:46 2005 UTC (6 years, 10 months ago) by robl
Branch: MAIN
CVS Tags: slang-sio-point, slang-sio-branch, slang-reqsched-point, slang-reqsched-branch, 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, posix-extensions-point, lockd-point, dbpf-slowskip, dbpf-onekeyval-point, dbpf-onekeyval-branch, dbpf-coalesce-point, dbpf-changes-branch, dbpf-changes, before-dbpf-onekeyval
Branch point for: posix-extensions-branch, lockd-branch, dbpf-coalesce-branch
Changes since 1.2: +3 -1 lines
Diff to previous 1.2
[pcarns]: do a couple things here:
- implements the retry and timeout configuration file options
( http://www.beowulf-underground.org/pipermail/pvfs2-developers/2005-June/001287.html )

- It turns out that it wasn't necessary for clients to choose a value if
  multiple file systems disagree on timeouts.  Instead they just store
  independent settings for each FS.

- This patch adds --client-job-timeout and --server-job-timeout options to
  genconfig (each toggle both flow and bmi timeouts)

- A few operations were multiplying the default client timeout by 5 on the
  premise that those particular operations may take a while.  I removed those
  special cases and instead increased the default client timeout values for
  everything.  My reasoning is that if any one operation can take a long time,
  then by extension any other operation could take an equally long time because
  of queueing behind the slow ones.

Revision 1.2.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.2: +2 -2 lines
Diff to previous 1.2
* 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.2 / (view) - annotate - [select for diffs] , Wed Jul 28 14:32:56 2004 UTC (7 years, 9 months ago) by neill
Branch: MAIN
CVS Tags: snapshot-bluegene-20050216, slang-event-changes-point, slang-attr-cache-fixups-point, pvfs2-tag-bugfix-67, pvfs2-snapshot-Alejandro, pvfs2-bugfix-67, pvfs2-bugfix-39, pvfs2-1-1-0, pvfs2-1-0-1, pvfs2-1-0-0, pvfs2-0-9-0, pvfs2-0-8-0, pvfs2-0-7-0, pvfs2-0-6-5, pvfs2-0-6-4, pvfs2-0-6-3, pvfs2-0-6-2, pvfs2-0-6-1, WALT2, WALT1
Branch point for: slang-event-changes-branch, slang-attr-cache-fixups-branch
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
- 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.1 / (view) - annotate - [select for diffs] , Fri Apr 30 14:58:43 2004 UTC (8 years 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
add a mechanism for a server to send a generic response back to the client
when it receives a request with a bad version number or encoding type, so
that the user gets a clear error message at the application level too

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