[Pvfs2-cvs] commit by pw in pvfs2/doc/design: new_operation.txt
CVS commit program
cvs at parl.clemson.edu
Wed Aug 30 11:34:12 EDT 2006
Update of /projects/cvsroot/pvfs2/doc/design
In directory parlweb1:/tmp/cvs-serv2986/doc/design
Modified Files:
new_operation.txt
Log Message:
Move PVFS_MAX_SERVER_OP into the enum and audit places where it was used in comparisons. Requiring manual adjustment of that value has bugged me for some time.
Index: new_operation.txt
===================================================================
RCS file: /projects/cvsroot/pvfs2/doc/design/new_operation.txt,v
diff -u -p -p -u -r1.2 -r1.3
--- new_operation.txt 4 Sep 2003 16:22:28 -0000 1.2
+++ new_operation.txt 30 Aug 2006 15:34:12 -0000 1.3
@@ -83,8 +83,8 @@ Everything Else:
define a PINT_server_xxx_op with the information specific to your new
operation, and add it to the union in PINT_server_op.
- Add a new enum to PVFS_server_op, remembering to increate the
- PVFS_MAX_SERVER_OP define. Define a server request structure
+ Add a new enum to PVFS_server_op, just before the sentinel
+ PVFS_SERV_NUM_OPS. Define a server request structure
(PVFS_servreq_xxx) and optionally (but encouraged) a
PINT_SERVREQ_xxx_FILL macro. If your operation needs information back
from the server (beyond 'success' or 'fail'), define a
More information about the Pvfs2-cvs
mailing list