[Pvfs2-cvs] commit by slang in pvfs2/include: pvfs2-hint.h pvfs2-encode-stubs.h pvfs2-mgmt.h pvfs2-sysint.h pvfs2-types.h

CVS commit program cvs at parl.clemson.edu
Mon Apr 7 12:30:45 EDT 2008


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

Modified Files:
      Tag: he-branch
	pvfs2-encode-stubs.h pvfs2-mgmt.h pvfs2-sysint.h pvfs2-types.h 
Added Files:
	pvfs2-hint.h 
Log Message:
hints and events.



Index: pvfs2-encode-stubs.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-encode-stubs.h,v
diff -p -u -r1.14 -r1.14.12.1
--- pvfs2-encode-stubs.h	18 Jul 2007 20:44:32 -0000	1.14
+++ pvfs2-encode-stubs.h	7 Apr 2008 16:30:44 -0000	1.14.12.1
@@ -71,6 +71,8 @@
 #define endecode_fields_4a_struct(n,t1,x1,t2,x2,t3,x3,t4,x4,tn1,n1,ta1,a1)
 #define endecode_fields_5a_struct(n,t1,x1,t2,x2,t3,x3,t4,x4,t5,x5,tn1,n1,ta1,a1)
 
+#define encode_enum_union_2_struct(name, ename, uname, ut1, un1, en1, ut2, un2, en2)
+
 #endif  /* __PINT_REQPROTO_ENCODE_FUNCS_C */
 
 #endif  /* __PVFS2_ENCODE_STUBS_H */

Index: pvfs2-mgmt.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-mgmt.h,v
diff -p -u -r1.62 -r1.62.6.1
--- pvfs2-mgmt.h	19 Nov 2007 21:12:59 -0000	1.62
+++ pvfs2-mgmt.h	7 Apr 2008 16:30:44 -0000	1.62.6.1
@@ -143,12 +143,14 @@ PVFS_error PVFS_imgmt_noop(
     PVFS_credentials *credentials,
     PVFS_BMI_addr_t addr,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_noop(
     PVFS_fs_id,
     PVFS_credentials *credentials,
-    PVFS_BMI_addr_t addr);
+    PVFS_BMI_addr_t addr,
+    PVFS_hint hints);
 
 const char* PVFS_mgmt_map_addr(
     PVFS_fs_id fs_id,
@@ -160,40 +162,40 @@ PVFS_error PVFS_imgmt_setparam_list(
     PVFS_fs_id fs_id,
     PVFS_credentials *credentials,
     enum PVFS_server_param param,
-    uint64_t value,
+    struct PVFS_mgmt_setparam_value *value,
     PVFS_BMI_addr_t *addr_array,
-    uint64_t *old_value_array,
     int count,
     PVFS_error_details *details,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_setparam_list(
     PVFS_fs_id fs_id,
     PVFS_credentials *credentials,
     enum PVFS_server_param param,
-    uint64_t value,
+    struct PVFS_mgmt_setparam_value *value,
     PVFS_BMI_addr_t *addr_array,
-    uint64_t *old_value_array,
     int count,
-    PVFS_error_details *details);
+    PVFS_error_details *details,
+    PVFS_hint hints);
 
 PVFS_error PVFS_mgmt_setparam_all(
     PVFS_fs_id fs_id,
     PVFS_credentials *credentials,
     enum PVFS_server_param param,
-    uint64_t value,
-    uint64_t *old_value_array,
-    PVFS_error_details *details);
+    struct PVFS_mgmt_setparam_value *value,
+    PVFS_error_details *details,
+    PVFS_hint hints);
 
 PVFS_error PVFS_mgmt_setparam_single(
     PVFS_fs_id fs_id,
     PVFS_credentials *credentials,
     enum PVFS_server_param param,
-    uint64_t value,
+    struct PVFS_mgmt_setparam_value *value,
     char *server_addr_str,
-    uint64_t *old_value,
-    PVFS_error_details *details);
+    PVFS_error_details *details,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_statfs_list(
     PVFS_fs_id fs_id,
@@ -203,6 +205,7 @@ PVFS_error PVFS_imgmt_statfs_list(
     int count,
     PVFS_error_details *details,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_statfs_list(
@@ -211,14 +214,16 @@ PVFS_error PVFS_mgmt_statfs_list(
     struct PVFS_mgmt_server_stat *stat_array,
     PVFS_BMI_addr_t *addr_array,
     int count,
-    PVFS_error_details *details);
+    PVFS_error_details *details,
+    PVFS_hint hints);
 
 PVFS_error PVFS_mgmt_statfs_all(
     PVFS_fs_id fs_id,
     PVFS_credentials *credentials,
     struct PVFS_mgmt_server_stat *stat_array,
     int *inout_count_p,
-    PVFS_error_details *details);
+    PVFS_error_details *details,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_perf_mon_list(
     PVFS_fs_id fs_id,
@@ -231,6 +236,7 @@ PVFS_error PVFS_imgmt_perf_mon_list(
     int history_count,
     PVFS_error_details *details,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_perf_mon_list(
@@ -242,7 +248,8 @@ PVFS_error PVFS_mgmt_perf_mon_list(
     uint32_t *next_id_array,
     int server_count,
     int history_count,
-    PVFS_error_details *details);
+    PVFS_error_details *details,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_event_mon_list(
     PVFS_fs_id fs_id,
@@ -253,6 +260,7 @@ PVFS_error PVFS_imgmt_event_mon_list(
     int event_count,
     PVFS_error_details *details,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_event_mon_list(
@@ -262,7 +270,9 @@ PVFS_error PVFS_mgmt_event_mon_list(
     PVFS_BMI_addr_t *addr_array,
     int server_count,
     int event_count,
-    PVFS_error_details *details);
+    PVFS_error_details *details,
+    PVFS_hint hints);
+
 
 PVFS_error PVFS_imgmt_iterate_handles_list(
     PVFS_fs_id fs_id,
@@ -274,6 +284,7 @@ PVFS_error PVFS_imgmt_iterate_handles_li
     int server_count,
     PVFS_error_details *details,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_iterate_handles_list(
@@ -284,7 +295,8 @@ PVFS_error PVFS_mgmt_iterate_handles_lis
     PVFS_ds_position *position_array,
     PVFS_BMI_addr_t *addr_array,
     int server_count,
-    PVFS_error_details *details);
+    PVFS_error_details *details,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_get_dfile_array(
     PVFS_object_ref ref,
@@ -292,35 +304,41 @@ PVFS_error PVFS_imgmt_get_dfile_array(
     PVFS_handle *dfile_array,
     int dfile_count,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_get_dfile_array(
     PVFS_object_ref ref,
     PVFS_credentials *credentials,
     PVFS_handle *dfile_array,
-    int dfile_count);
+    int dfile_count,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_remove_object(
-    PVFS_object_ref object_ref, 
+    PVFS_object_ref object_ref,
     PVFS_credentials *credentials,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_remove_object(
-    PVFS_object_ref object_ref, 
-    PVFS_credentials *credentials);
+    PVFS_object_ref object_ref,
+    PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_remove_dirent(
     PVFS_object_ref parent_ref,
     char *entry,
     PVFS_credentials *credentials,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_remove_dirent(
     PVFS_object_ref parent_ref,
     char *entry,
-    PVFS_credentials *credentials);
+    PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_create_dirent(
     PVFS_object_ref parent_ref,
@@ -328,25 +346,29 @@ PVFS_error PVFS_imgmt_create_dirent(
     PVFS_handle entry_handle,
     PVFS_credentials *credentials,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_create_dirent(
     PVFS_object_ref parent_ref,
     char *entry,
     PVFS_handle entry_handle,
-    PVFS_credentials *credentials);
+    PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_imgmt_get_dirdata_handle(
     PVFS_object_ref parent_ref,
     PVFS_handle *out_dirdata_handle,
     PVFS_credentials *credentials,
     PVFS_mgmt_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_mgmt_get_dirdata_handle(
     PVFS_object_ref parent_ref,
     PVFS_handle *out_dirdata_handle,
-    PVFS_credentials *credentials);
+    PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 int PVFS_mgmt_wait(
     PVFS_mgmt_op_id op_id,

Index: pvfs2-sysint.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-sysint.h,v
diff -p -u -r1.76 -r1.76.2.1
--- pvfs2-sysint.h	6 Apr 2008 23:46:58 -0000	1.76
+++ pvfs2-sysint.h	7 Apr 2008 16:30:44 -0000	1.76.2.1
@@ -260,6 +260,7 @@ PVFS_error PVFS_isys_ref_lookup(
     PVFS_sysresp_lookup * resp,
     int32_t follow_link,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_ref_lookup(
@@ -268,14 +269,16 @@ PVFS_error PVFS_sys_ref_lookup(
     PVFS_object_ref parent_ref,
     const PVFS_credentials *credentials,
     PVFS_sysresp_lookup * resp,
-    int32_t follow_link);
+    int32_t follow_link,
+    PVFS_hint hints);
 
 PVFS_error PVFS_sys_lookup(
     PVFS_fs_id fs_id,
     char *name,
     const PVFS_credentials *credentials,
     PVFS_sysresp_lookup * resp,
-    int32_t follow_link);
+    int32_t follow_link,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_getattr(
     PVFS_object_ref ref,
@@ -283,25 +286,29 @@ PVFS_error PVFS_isys_getattr(
     const PVFS_credentials *credentials,
     PVFS_sysresp_getattr *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_getattr(
     PVFS_object_ref ref,
     uint32_t attrmask,
     const PVFS_credentials *credentials,
-    PVFS_sysresp_getattr *resp);
+    PVFS_sysresp_getattr *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_setattr(
     PVFS_object_ref ref,
     PVFS_sys_attr attr,
     const PVFS_credentials *credentials,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_setattr(
     PVFS_object_ref ref,
     PVFS_sys_attr attr,
-    const PVFS_credentials *credentials);
+    const PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_mkdir(
     char *entry_name,
@@ -310,6 +317,7 @@ PVFS_error PVFS_isys_mkdir(
     const PVFS_credentials *credentials,
     PVFS_sysresp_mkdir *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_mkdir(
@@ -317,7 +325,8 @@ PVFS_error PVFS_sys_mkdir(
     PVFS_object_ref parent_ref,
     PVFS_sys_attr attr,
     const PVFS_credentials *credentials,
-    PVFS_sysresp_mkdir *resp);
+    PVFS_sysresp_mkdir *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_readdir(
     PVFS_object_ref ref,
@@ -326,6 +335,7 @@ PVFS_error PVFS_isys_readdir(
     const PVFS_credentials *credentials,
     PVFS_sysresp_readdir *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_readdir(
@@ -333,7 +343,8 @@ PVFS_error PVFS_sys_readdir(
     PVFS_ds_position token,
     int32_t pvfs_dirent_incount,
     const PVFS_credentials *credentials,
-    PVFS_sysresp_readdir *resp);
+    PVFS_sysresp_readdir *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_readdirplus(
     PVFS_object_ref ref,
@@ -343,6 +354,7 @@ PVFS_error PVFS_isys_readdirplus(
     uint32_t attrmask,
     PVFS_sysresp_readdirplus *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_readdirplus(
@@ -351,7 +363,8 @@ PVFS_error PVFS_sys_readdirplus(
     int32_t pvfs_dirent_incount,
     const PVFS_credentials *credentials,
     uint32_t attrmask,
-    PVFS_sysresp_readdirplus *resp);
+    PVFS_sysresp_readdirplus *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_create(
     char *entry_name,
@@ -362,6 +375,7 @@ PVFS_error PVFS_isys_create(
     PVFS_sys_layout *layout,
     PVFS_sysresp_create *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_create(
@@ -370,20 +384,23 @@ PVFS_error PVFS_sys_create(
     PVFS_sys_attr attr,
     const PVFS_credentials *credentials,
     PVFS_sys_dist *dist,
+    PVFS_sysresp_create *resp,
     PVFS_sys_layout *layout,
-    PVFS_sysresp_create *resp);
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_remove(
     char *entry_name,
     PVFS_object_ref ref,
     const PVFS_credentials *credentials,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_remove(
     char *entry_name,
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials);
+    const PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_rename(
     char *old_entry,
@@ -392,6 +409,7 @@ PVFS_error PVFS_isys_rename(
     PVFS_object_ref new_parent_ref,
     const PVFS_credentials *credentials,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_rename(
@@ -399,7 +417,8 @@ PVFS_error PVFS_sys_rename(
     PVFS_object_ref old_parent_ref,
     char *new_entry,
     PVFS_object_ref new_parent_ref,
-    const PVFS_credentials *credentials);
+    const PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_symlink(
     char *entry_name,
@@ -409,6 +428,7 @@ PVFS_error PVFS_isys_symlink(
     const PVFS_credentials *credentials,
     PVFS_sysresp_symlink *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_symlink(
@@ -417,7 +437,8 @@ PVFS_error PVFS_sys_symlink(
     char *target,
     PVFS_sys_attr attr,
     const PVFS_credentials *credentials,
-    PVFS_sysresp_symlink *resp);
+    PVFS_sysresp_symlink *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_io(
     PVFS_object_ref ref,
@@ -429,6 +450,7 @@ PVFS_error PVFS_isys_io(
     PVFS_sysresp_io *resp,
     enum PVFS_io_type type,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 #define PVFS_isys_read(x1,x2,x3,x4,x5,x6,y,x7,x8) \
@@ -445,53 +467,61 @@ PVFS_error PVFS_sys_io(
     PVFS_Request mem_req,
     const PVFS_credentials *credentials,
     PVFS_sysresp_io *resp,
-    enum PVFS_io_type type);
+    enum PVFS_io_type type,
+    PVFS_hint hints);
 
-#define PVFS_sys_read(x1,x2,x3,x4,x5,x6,y) \
-PVFS_sys_io(x1,x2,x3,x4,x5,x6,y,PVFS_IO_READ)
+#define PVFS_sys_read(x1,x2,x3,x4,x5,x6,y,z) \
+PVFS_sys_io(x1,x2,x3,x4,x5,x6,y,PVFS_IO_READ,z)
 
-#define PVFS_sys_write(x1,x2,x3,x4,x5,x6,y) \
-PVFS_sys_io(x1,x2,x3,x4,x5,x6,y,PVFS_IO_WRITE)
+#define PVFS_sys_write(x1,x2,x3,x4,x5,x6,y,z) \
+PVFS_sys_io(x1,x2,x3,x4,x5,x6,y,PVFS_IO_WRITE,z)
 
 PVFS_error PVFS_isys_truncate(
     PVFS_object_ref ref,
     PVFS_size size,
     const PVFS_credentials *credentials,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_truncate(
     PVFS_object_ref ref,
     PVFS_size size,
-    const PVFS_credentials *credentials);
+    const PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_sys_getparent(
     PVFS_fs_id fs_id,
     char *entry_name,
     const PVFS_credentials *credentials,
-    PVFS_sysresp_getparent *resp);
+    PVFS_sysresp_getparent *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_flush(
     PVFS_object_ref ref,
     const PVFS_credentials *credentials,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_flush(
     PVFS_object_ref ref,
-    const PVFS_credentials *credentials);
+    const PVFS_credentials *credentials,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_statfs(
     PVFS_fs_id fs_id,
     const PVFS_credentials *credentials,
     PVFS_sysresp_statfs *statfs,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_statfs(
     PVFS_fs_id fs_id,
     const PVFS_credentials *credentials,
-    PVFS_sysresp_statfs *resp);
+    PVFS_sysresp_statfs *resp,
+    PVFS_hint hints);
 
 PVFS_sys_dist* PVFS_sys_dist_lookup(
     const char* dist_identifier);
@@ -510,13 +540,15 @@ PVFS_error PVFS_isys_geteattr(
     PVFS_ds_keyval *key_p,
     PVFS_sysresp_geteattr *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_geteattr(
     PVFS_object_ref ref,
     const PVFS_credentials *credentials,
     PVFS_ds_keyval *key_p,
-    PVFS_ds_keyval *val_p);
+    PVFS_ds_keyval *val_p,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_geteattr_list(
     PVFS_object_ref ref,
@@ -525,6 +557,7 @@ PVFS_error PVFS_isys_geteattr_list(
     PVFS_ds_keyval *key_p,
     PVFS_sysresp_geteattr *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_geteattr_list(
@@ -532,7 +565,8 @@ PVFS_error PVFS_sys_geteattr_list(
     const PVFS_credentials *credentials,
     int32_t nkey,
     PVFS_ds_keyval *key_p,
-    PVFS_sysresp_geteattr *resp);
+    PVFS_sysresp_geteattr *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_seteattr(
     PVFS_object_ref ref,
@@ -541,6 +575,7 @@ PVFS_error PVFS_isys_seteattr(
     PVFS_ds_keyval *val_p,
     int32_t flags,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_seteattr(
@@ -548,7 +583,8 @@ PVFS_error PVFS_sys_seteattr(
     const PVFS_credentials *credentials,
     PVFS_ds_keyval *key_p,
     PVFS_ds_keyval *val_p,
-    int32_t flags);
+    int32_t flags,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_seteattr_list(
     PVFS_object_ref ref,
@@ -558,6 +594,7 @@ PVFS_error PVFS_isys_seteattr_list(
     PVFS_ds_keyval *val_array,
     int32_t flags,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_seteattr_list(
@@ -566,19 +603,22 @@ PVFS_error PVFS_sys_seteattr_list(
     int32_t nkey,
     PVFS_ds_keyval *key_array,
     PVFS_ds_keyval *val_array,
-    int32_t flags);
+    int32_t flags,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_deleattr(
     PVFS_object_ref ref,
     const PVFS_credentials *credentials,
     PVFS_ds_keyval *key_p,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_deleattr(
     PVFS_object_ref ref,
     const PVFS_credentials *credentials,
-    PVFS_ds_keyval *key_p);
+    PVFS_ds_keyval *key_p,
+    PVFS_hint hints);
 
 PVFS_error PVFS_isys_listeattr(
     PVFS_object_ref ref,
@@ -587,6 +627,7 @@ PVFS_error PVFS_isys_listeattr(
     const PVFS_credentials *credentials,
     PVFS_sysresp_listeattr *resp,
     PVFS_sys_op_id *op_id,
+    PVFS_hint hints,
     void *user_ptr);
 
 PVFS_error PVFS_sys_listeattr(
@@ -594,7 +635,8 @@ PVFS_error PVFS_sys_listeattr(
     PVFS_ds_position token,
     int32_t nkey,
     const PVFS_credentials *credentials,
-    PVFS_sysresp_listeattr *resp);
+    PVFS_sysresp_listeattr *resp,
+    PVFS_hint hints);
 
 PVFS_error PVFS_sys_set_info(
     enum PVFS_sys_setinfo_opt option,

Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.147 -r1.147.6.1
--- pvfs2-types.h	19 Dec 2007 05:39:09 -0000	1.147
+++ pvfs2-types.h	7 Apr 2008 16:30:45 -0000	1.147.6.1
@@ -61,6 +61,7 @@
 
 /* empty stubs to turn off encoding definition generation */
 #include "pvfs2-encode-stubs.h"
+#include "pvfs2-hint.h"
 
 /* Basic types used throughout the code. */
 typedef uint8_t PVFS_boolean;
@@ -461,11 +462,32 @@ enum PVFS_server_param
     PVFS_SERV_PARAM_FSID_CHECK = 2,  /* verify that an fsid is ok */
     PVFS_SERV_PARAM_ROOT_CHECK = 3,  /* verify existance of root handle */
     PVFS_SERV_PARAM_MODE = 4,        /* change the current server mode */
-    PVFS_SERV_PARAM_EVENT_ON = 5,    /* event logging on or off */
-    PVFS_SERV_PARAM_EVENT_MASKS = 6, /* API masks for event logging */
+    PVFS_SERV_PARAM_EVENT_ENABLE = 5,    /* event enable */
+    PVFS_SERV_PARAM_EVENT_DISABLE = 6, /* event disable */
     PVFS_SERV_PARAM_SYNC_META = 7,   /* metadata sync flags */
     PVFS_SERV_PARAM_SYNC_DATA = 8,   /* file data sync flags */
 };
+
+enum PVFS_mgmt_param_type
+{
+    PVFS_MGMT_PARAM_TYPE_UINT64,
+    PVFS_MGMT_PARAM_TYPE_STRING
+} ;
+
+struct PVFS_mgmt_setparam_value
+{
+    enum PVFS_mgmt_param_type type;
+    union
+    {
+        uint64_t value;
+        char *string_value;
+    } u;
+};
+encode_enum_union_2_struct(
+    PVFS_mgmt_setparam_value,
+    type, u,
+    uint64_t, value,        PVFS_MGMT_PARAM_TYPE_UINT64,
+    string,   string_value, PVFS_MGMT_PARAM_TYPE_STRING)
 
 enum PVFS_server_mode
 {



More information about the Pvfs2-cvs mailing list