[Pvfs2-cvs] commit by kunkel in pvfs2/include: pvfs2-encode-stubs.h pvfs2-mgmt.h

CVS commit program cvs at parl.clemson.edu
Sat Aug 26 09:37:44 EDT 2006


Update of /projects/cvsroot/pvfs2/include
In directory parlweb1:/tmp/cvs-serv11028/include

Modified Files:
      Tag: kunkel-branch
	pvfs2-encode-stubs.h pvfs2-mgmt.h 
Log Message:
Migration of datafiles between different servers works. Uses msgpairray.sm,
transfers only one datafile between two servers and rewrites metadata.
Todo: Adaption of request scheduler to ensure that migration and write 
I/O do not happen concurrently on source dataserver.
Also allow users to specify command line parameter which supresses
transfer of pvfs2-hints.


Index: pvfs2-encode-stubs.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-encode-stubs.h,v
diff -p -u -r1.12 -r1.12.4.1
--- pvfs2-encode-stubs.h	16 Jun 2006 21:01:10 -0000	1.12
+++ pvfs2-encode-stubs.h	26 Aug 2006 13:37:44 -0000	1.12.4.1
@@ -42,6 +42,8 @@
 #define endecode_fields_4_struct(n,t1,x1,t2,x2,t3,x3,t4,x4)
 #define endecode_fields_5(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5)
 #define endecode_fields_5_struct(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5)
+#define endecode_fields_6(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5,t6,x6)
+#define endecode_fields_6_struct(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5,t6,x6)
 #define endecode_fields_7_struct(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5,t6,x6,t7,x7)
 #define endecode_fields_8_struct(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5,t6,x6,t7,x7,t8,x8)
 #define endecode_fields_9_struct(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5,t6,x6,t7,x7,t8,x8,t9,x9)

Index: pvfs2-mgmt.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-mgmt.h,v
diff -p -u -r1.56.6.2 -r1.56.6.3
--- pvfs2-mgmt.h	22 Aug 2006 10:54:16 -0000	1.56.6.2
+++ pvfs2-mgmt.h	26 Aug 2006 13:37:44 -0000	1.56.6.3
@@ -146,6 +146,11 @@ PVFS_error PVFS_imgmt_noop(
     PVFS_hint * hints,
     void *user_ptr);
 
+PVFS_error PVFS_get_bmi_address(
+    const char * alias, 
+    PVFS_fs_id fs_id,
+    PVFS_BMI_addr_t * out_address);  
+
 PVFS_error PVFS_mgmt_noop(
     PVFS_fs_id,
     PVFS_credentials *credentials,
@@ -156,7 +161,8 @@ PVFS_error PVFS_imgmt_migrate(
     PVFS_fs_id fs_id,
     PVFS_credentials *credentials,
     PVFS_BMI_addr_t metaserver_addr,
-    PVFS_object_ref target_datafile_ref,
+    PVFS_handle     target_metafile,
+    PVFS_handle     target_datafile,    
     PVFS_BMI_addr_t source_dataserver,
     PVFS_BMI_addr_t target_dataserver, 
     PVFS_mgmt_op_id *op_id,
@@ -167,7 +173,8 @@ PVFS_error PVFS_mgmt_migrate(
     PVFS_fs_id fs_id,
     PVFS_credentials *credentials,
     PVFS_BMI_addr_t metaserver_addr,
-    PVFS_object_ref target_datafile_ref,
+    PVFS_handle     target_metafile,
+    PVFS_handle     target_datafile,    
     PVFS_BMI_addr_t source_dataserver,
     PVFS_BMI_addr_t target_dataserver, 
     PVFS_hint * hints);



More information about the Pvfs2-cvs mailing list