aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_clnt.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_clnt.h')
-rw-r--r--fs/xfs/xfs_clnt.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/fs/xfs/xfs_clnt.h b/fs/xfs/xfs_clnt.h
index 1fbe2bf1f3ec..328a528b926d 100644
--- a/fs/xfs/xfs_clnt.h
+++ b/fs/xfs/xfs_clnt.h
@@ -41,6 +41,7 @@
41 */ 41 */
42struct xfs_mount_args { 42struct xfs_mount_args {
43 int flags; /* flags -> see XFSMNT_... macros below */ 43 int flags; /* flags -> see XFSMNT_... macros below */
44 int flags2; /* flags -> see XFSMNT2_... macros below */
44 int logbufs; /* Number of log buffers, -1 to default */ 45 int logbufs; /* Number of log buffers, -1 to default */
45 int logbufsize; /* Size of log buffers, -1 to default */ 46 int logbufsize; /* Size of log buffers, -1 to default */
46 char fsname[MAXNAMELEN+1]; /* data device name */ 47 char fsname[MAXNAMELEN+1]; /* data device name */
@@ -54,7 +55,7 @@ struct xfs_mount_args {
54}; 55};
55 56
56/* 57/*
57 * XFS mount option flags 58 * XFS mount option flags -- args->flags1
58 */ 59 */
59#define XFSMNT_COMPAT_ATTR 0x00000001 /* do not use ATTR2 format */ 60#define XFSMNT_COMPAT_ATTR 0x00000001 /* do not use ATTR2 format */
60#define XFSMNT_WSYNC 0x00000002 /* safe mode nfs mount 61#define XFSMNT_WSYNC 0x00000002 /* safe mode nfs mount
@@ -77,7 +78,7 @@ struct xfs_mount_args {
77#define XFSMNT_SHARED 0x00001000 /* shared XFS mount */ 78#define XFSMNT_SHARED 0x00001000 /* shared XFS mount */
78#define XFSMNT_IOSIZE 0x00002000 /* optimize for I/O size */ 79#define XFSMNT_IOSIZE 0x00002000 /* optimize for I/O size */
79#define XFSMNT_OSYNCISOSYNC 0x00004000 /* o_sync is REALLY o_sync */ 80#define XFSMNT_OSYNCISOSYNC 0x00004000 /* o_sync is REALLY o_sync */
80 /* (osyncisdsync is now default) */ 81 /* (osyncisdsync is default) */
81#define XFSMNT_32BITINODES 0x00200000 /* restrict inodes to 32 82#define XFSMNT_32BITINODES 0x00200000 /* restrict inodes to 32
82 * bits of address space */ 83 * bits of address space */
83#define XFSMNT_GQUOTA 0x00400000 /* group quota accounting */ 84#define XFSMNT_GQUOTA 0x00400000 /* group quota accounting */
@@ -92,7 +93,12 @@ struct xfs_mount_args {
92#define XFSMNT_IHASHSIZE 0x20000000 /* inode hash table size */ 93#define XFSMNT_IHASHSIZE 0x20000000 /* inode hash table size */
93#define XFSMNT_DIRSYNC 0x40000000 /* sync creat,link,unlink,rename 94#define XFSMNT_DIRSYNC 0x40000000 /* sync creat,link,unlink,rename
94 * symlink,mkdir,rmdir,mknod */ 95 * symlink,mkdir,rmdir,mknod */
95#define XFSMNT_COMPAT_IOSIZE 0x80000000 /* don't report large preferred 96#define XFSMNT_FLAGS2 0x80000000 /* more flags set in flags2 */
96 * I/O size in stat() */ 97
98/*
99 * XFS mount option flags -- args->flags2
100 */
101#define XFSMNT2_COMPAT_IOSIZE 0x00000001 /* don't report large preferred
102 * I/O size in stat(2) */
97 103
98#endif /* __XFS_CLNT_H__ */ 104#endif /* __XFS_CLNT_H__ */