[Pvfs2-cvs] commit by walt in pvfs2/src/proto: pvfs2-req-proto.h
CVS commit program
cvs at parl.clemson.edu
Wed Feb 27 13:22:50 EST 2008
Update of /projects/cvsroot/pvfs2/src/proto
In directory parlweb1:/tmp/cvs-serv13402/src/proto
Modified Files:
Tag: cu-sandbox-branch
pvfs2-req-proto.h
Log Message:
added some comments to guide changes for create-file
Index: pvfs2-req-proto.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/proto/pvfs2-req-proto.h,v
diff -p -u -r1.151.4.2 -r1.151.4.3
--- pvfs2-req-proto.h 22 Feb 2008 21:13:09 -0000 1.151.4.2
+++ pvfs2-req-proto.h 27 Feb 2008 18:22:50 -0000 1.151.4.3
@@ -190,6 +190,11 @@ endecode_fields_1_struct(
/* create_file ************************************************/
/* - A server-to-server collective file create */
+/* add/remove to/from this struct as needed to pass arguments in */
+/* to the state machine. Remove object_type, add parent_handle */
+/* add info from set_attr for standard metadata, distribution */
+/* etc. Add num_datafiles. Expand extent_array to cover for each */
+/* datafile, add file name (see crdirent) */
struct PVFS_servreq_create_file
{
PVFS_fs_id fs_id;
@@ -228,6 +233,8 @@ do {
(__ext_array).extent_array; \
} while (0)
+/* add as needed for all return values - return attributes */
+/* as in get_attr, including datafile handles */
struct PVFS_servresp_create_file
{
PVFS_handle handle;
More information about the Pvfs2-cvs
mailing list