summaryrefslogtreecommitdiff
path: root/fs/orangefs/pvfs2-dev-proto.h
diff options
context:
space:
mode:
authorYi Liu <yi9@clemson.edu>2015-11-24 20:12:14 (GMT)
committerMike Marshall <hubcap@omnibond.com>2015-12-03 19:45:44 (GMT)
commit8bb8aefd5afb54a25a002feb4ec70011812d06a0 (patch)
tree08ca295ca2541c889e2805f92ae0aa699b0a13df /fs/orangefs/pvfs2-dev-proto.h
parent555fa0fa618b846c5b38406347b7d53ace320ac6 (diff)
downloadlinux-8bb8aefd5afb54a25a002feb4ec70011812d06a0.tar.xz
OrangeFS: Change almost all instances of the string PVFS2 to OrangeFS.
OrangeFS was formerly known as PVFS2 and retains the name in many places. I leave the device /dev/pvfs2-req since this affects userspace. I leave the filesystem type pvfs2 since this affects userspace. Further the OrangeFS sysint library reads fstab for an entry of type pvfs2 independently of kernel mounts. I leave extended attribute keys user.pvfs2 and system.pvfs2 as the sysint library understands these. I leave references to userspace binaries still named pvfs2. I leave the filenames. Signed-off-by: Yi Liu <yi9@clemson.edu> [martin@omnibond.com: clairify above constraints and merge] Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/pvfs2-dev-proto.h')
-rw-r--r--fs/orangefs/pvfs2-dev-proto.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/fs/orangefs/pvfs2-dev-proto.h b/fs/orangefs/pvfs2-dev-proto.h
index 71ab56d..dc1951d 100644
--- a/fs/orangefs/pvfs2-dev-proto.h
+++ b/fs/orangefs/pvfs2-dev-proto.h
@@ -4,8 +4,8 @@
* See COPYING in top-level directory.
*/
-#ifndef _PVFS2_DEV_PROTO_H
-#define _PVFS2_DEV_PROTO_H
+#ifndef _ORANGEFS_DEV_PROTO_H
+#define _ORANGEFS_DEV_PROTO_H
/*
* types and constants shared between user space and kernel space for
@@ -13,46 +13,46 @@
*/
/*
- * valid pvfs2 kernel operation types
+ * valid orangefs kernel operation types
*/
-#define PVFS2_VFS_OP_INVALID 0xFF000000
-#define PVFS2_VFS_OP_FILE_IO 0xFF000001
-#define PVFS2_VFS_OP_LOOKUP 0xFF000002
-#define PVFS2_VFS_OP_CREATE 0xFF000003
-#define PVFS2_VFS_OP_GETATTR 0xFF000004
-#define PVFS2_VFS_OP_REMOVE 0xFF000005
-#define PVFS2_VFS_OP_MKDIR 0xFF000006
-#define PVFS2_VFS_OP_READDIR 0xFF000007
-#define PVFS2_VFS_OP_SETATTR 0xFF000008
-#define PVFS2_VFS_OP_SYMLINK 0xFF000009
-#define PVFS2_VFS_OP_RENAME 0xFF00000A
-#define PVFS2_VFS_OP_STATFS 0xFF00000B
-#define PVFS2_VFS_OP_TRUNCATE 0xFF00000C
-#define PVFS2_VFS_OP_MMAP_RA_FLUSH 0xFF00000D
-#define PVFS2_VFS_OP_FS_MOUNT 0xFF00000E
-#define PVFS2_VFS_OP_FS_UMOUNT 0xFF00000F
-#define PVFS2_VFS_OP_GETXATTR 0xFF000010
-#define PVFS2_VFS_OP_SETXATTR 0xFF000011
-#define PVFS2_VFS_OP_LISTXATTR 0xFF000012
-#define PVFS2_VFS_OP_REMOVEXATTR 0xFF000013
-#define PVFS2_VFS_OP_PARAM 0xFF000014
-#define PVFS2_VFS_OP_PERF_COUNT 0xFF000015
-#define PVFS2_VFS_OP_CANCEL 0xFF00EE00
-#define PVFS2_VFS_OP_FSYNC 0xFF00EE01
-#define PVFS2_VFS_OP_FSKEY 0xFF00EE02
-#define PVFS2_VFS_OP_READDIRPLUS 0xFF00EE03
+#define ORANGEFS_VFS_OP_INVALID 0xFF000000
+#define ORANGEFS_VFS_OP_FILE_IO 0xFF000001
+#define ORANGEFS_VFS_OP_LOOKUP 0xFF000002
+#define ORANGEFS_VFS_OP_CREATE 0xFF000003
+#define ORANGEFS_VFS_OP_GETATTR 0xFF000004
+#define ORANGEFS_VFS_OP_REMOVE 0xFF000005
+#define ORANGEFS_VFS_OP_MKDIR 0xFF000006
+#define ORANGEFS_VFS_OP_READDIR 0xFF000007
+#define ORANGEFS_VFS_OP_SETATTR 0xFF000008
+#define ORANGEFS_VFS_OP_SYMLINK 0xFF000009
+#define ORANGEFS_VFS_OP_RENAME 0xFF00000A
+#define ORANGEFS_VFS_OP_STATFS 0xFF00000B
+#define ORANGEFS_VFS_OP_TRUNCATE 0xFF00000C
+#define ORANGEFS_VFS_OP_MMAP_RA_FLUSH 0xFF00000D
+#define ORANGEFS_VFS_OP_FS_MOUNT 0xFF00000E
+#define ORANGEFS_VFS_OP_FS_UMOUNT 0xFF00000F
+#define ORANGEFS_VFS_OP_GETXATTR 0xFF000010
+#define ORANGEFS_VFS_OP_SETXATTR 0xFF000011
+#define ORANGEFS_VFS_OP_LISTXATTR 0xFF000012
+#define ORANGEFS_VFS_OP_REMOVEXATTR 0xFF000013
+#define ORANGEFS_VFS_OP_PARAM 0xFF000014
+#define ORANGEFS_VFS_OP_PERF_COUNT 0xFF000015
+#define ORANGEFS_VFS_OP_CANCEL 0xFF00EE00
+#define ORANGEFS_VFS_OP_FSYNC 0xFF00EE01
+#define ORANGEFS_VFS_OP_FSKEY 0xFF00EE02
+#define ORANGEFS_VFS_OP_READDIRPLUS 0xFF00EE03
/*
* Misc constants. Please retain them as multiples of 8!
* Otherwise 32-64 bit interactions will be messed up :)
*/
-#define PVFS2_NAME_LEN 0x00000100
-#define PVFS2_MAX_DEBUG_STRING_LEN 0x00000400
-#define PVFS2_MAX_DEBUG_ARRAY_LEN 0x00000800
+#define ORANGEFS_NAME_LEN 0x00000100
+#define ORANGEFS_MAX_DEBUG_STRING_LEN 0x00000400
+#define ORANGEFS_MAX_DEBUG_ARRAY_LEN 0x00000800
/*
- * MAX_DIRENT_COUNT cannot be larger than PVFS_REQ_LIMIT_LISTATTR.
- * The value of PVFS_REQ_LIMIT_LISTATTR has been changed from 113 to 60
+ * MAX_DIRENT_COUNT cannot be larger than ORANGEFS_REQ_LIMIT_LISTATTR.
+ * The value of ORANGEFS_REQ_LIMIT_LISTATTR has been changed from 113 to 60
* to accomodate an attribute object with mirrored handles.
* MAX_DIRENT_COUNT is replaced by MAX_DIRENT_COUNT_READDIR and
* MAX_DIRENT_COUNT_READDIRPLUS, since readdir doesn't trigger a listattr