[Pvfs2-cvs] commit by kunkel in pvfs2/include: pvfs2-sysint.h
pvfs2-debug.h pvfs2-types.h
CVS commit program
cvs at parl.clemson.edu
Sat Dec 2 06:12:36 EST 2006
Update of /projects/cvsroot/pvfs2/include
In directory parlweb1:/tmp/cvs-serv17506/include
Modified Files:
Tag: kunkel-hint-branch
pvfs2-sysint.h pvfs2-debug.h pvfs2-types.h
Log Message:
Upgrade to current CVS version
Index: pvfs2-sysint.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-sysint.h,v
diff -p -u -r1.67.6.2 -r1.67.6.3
--- pvfs2-sysint.h 25 Sep 2006 12:39:55 -0000 1.67.6.2
+++ pvfs2-sysint.h 2 Dec 2006 11:12:35 -0000 1.67.6.3
@@ -42,6 +42,7 @@ struct PVFS_sys_attr_s
PVFS2_ALIGN_VAR(char*, dist_params); /* NOTE: caller must free if valid */
PVFS_size dirent_count;
PVFS_ds_type objtype;
+ PVFS_flags flags;
uint32_t mask;
};
typedef struct PVFS_sys_attr_s PVFS_sys_attr;
Index: pvfs2-debug.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-debug.h,v
diff -p -u -r1.51.2.1 -r1.51.2.2
--- pvfs2-debug.h 25 Sep 2006 12:39:55 -0000 1.51.2.1
+++ pvfs2-debug.h 2 Dec 2006 11:12:36 -0000 1.51.2.2
@@ -67,6 +67,7 @@
#define GOSSIP_DBPF_KEYVAL_DEBUG ((uint64_t)1 << 45)
#define GOSSIP_LISTATTR_DEBUG ((uint64_t)1 << 46)
#define GOSSIP_DBPF_COALESCE_DEBUG ((uint64_t)1 << 47)
+#define GOSSIP_ACCESS_HOSTNAMES ((uint64_t)1 << 48)
/* NOTE: if you want your gossip flag to be controllable from
* pvfs2-set-debugmask you have to add it in
Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.132.2.2 -r1.132.2.3
--- pvfs2-types.h 25 Sep 2006 12:39:55 -0000 1.132.2.2
+++ pvfs2-types.h 2 Dec 2006 11:12:36 -0000 1.132.2.3
@@ -137,6 +137,7 @@ typedef uint32_t PVFS_uid;
typedef uint32_t PVFS_gid;
typedef uint64_t PVFS_time;
typedef uint32_t PVFS_permissions;
+typedef uint64_t PVFS_flags;
#define encode_PVFS_uid encode_uint32_t
#define decode_PVFS_uid decode_uint32_t
#define encode_PVFS_gid encode_uint32_t
@@ -145,6 +146,8 @@ typedef uint32_t PVFS_permissions;
#define decode_PVFS_time decode_int64_t
#define encode_PVFS_permissions encode_uint32_t
#define decode_PVFS_permissions decode_uint32_t
+#define encode_PVFS_flags encode_uint64_t
+#define decode_PVFS_flags decode_uint64_t
/* contiguous range of handles */
typedef struct
@@ -224,6 +227,11 @@ typedef enum
#define decode_PVFS_ds_type decode_enum
#define encode_PVFS_ds_type encode_enum
+/* PVFS Object Flags (PVFS_flags); Add more as we implement them */
+#define PVFS_IMMUTABLE_FL 0x1ULL
+#define PVFS_APPEND_FL 0x2ULL
+#define PVFS_NOATIME_FL 0x4ULL
+
/* Key/Value Pairs */
/* Extended attributes are stored on objects with */
/* a Key/Value pair. A key or a value is simply */
@@ -531,7 +539,7 @@ PVFS_error PVFS_get_errno_mapping(PVFS_e
#define PVFS_EHOSTDOWN E(55) /* Host is down */
#define PVFS_EHOSTUNREACH E(56) /* No route to host */
#define PVFS_EALREADY E(57) /* Operation already in progress */
-#define PVFS_EACCES E(58) /* Operation already in progress */
+#define PVFS_EACCES E(58) /* Access not allowed */
/***************** non-errno/pvfs2 specific error codes *****************/
#define PVFS_ECANCEL (1|(PVFS_NON_ERRNO_ERROR_BIT|PVFS_ERROR_BIT))
More information about the Pvfs2-cvs
mailing list