aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-01 23:09:22 -0500
committerNathan Scott <nathans@sgi.com>2005-11-01 23:09:22 -0500
commite718eeb4fe397f8add9f789e1fc3b47da4e7275f (patch)
treeac7732a22588c5dd42ba30449dd36ca0e07e7180 /fs/xfs/xfs_mount.h
parent6b3f6b5b87f03d1649340d6b3a572206653a2a2b (diff)
[XFS] Rework the final mount options flag bit to make room for more.
SGI-PV: 943866 SGI-Modid: xfs-linux:xfs-kern:24030a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r--fs/xfs/xfs_mount.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index 04f8e37cb264..f724a2beead9 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -333,7 +333,7 @@ typedef struct xfs_mount {
333 sema_t m_growlock; /* growfs mutex */ 333 sema_t m_growlock; /* growfs mutex */
334 int m_fixedfsid[2]; /* unchanged for life of FS */ 334 int m_fixedfsid[2]; /* unchanged for life of FS */
335 uint m_dmevmask; /* DMI events for this FS */ 335 uint m_dmevmask; /* DMI events for this FS */
336 uint m_flags; /* global mount flags */ 336 __uint64_t m_flags; /* global mount flags */
337 uint m_attroffset; /* inode attribute offset */ 337 uint m_attroffset; /* inode attribute offset */
338 uint m_dir_node_ents; /* #entries in a dir danode */ 338 uint m_dir_node_ents; /* #entries in a dir danode */
339 uint m_attr_node_ents; /* #entries in attr danode */ 339 uint m_attr_node_ents; /* #entries in attr danode */
@@ -378,39 +378,39 @@ typedef struct xfs_mount {
378/* 378/*
379 * Flags for m_flags. 379 * Flags for m_flags.
380 */ 380 */
381#define XFS_MOUNT_WSYNC 0x00000001 /* for nfs - all metadata ops 381#define XFS_MOUNT_WSYNC (1ULL << 0) /* for nfs - all metadata ops
382 must be synchronous except 382 must be synchronous except
383 for space allocations */ 383 for space allocations */
384#define XFS_MOUNT_INO64 0x00000002 384#define XFS_MOUNT_INO64 (1ULL << 1)
385 /* 0x00000004 -- currently unused */ 385 /* (1ULL << 2) -- currently unused */
386 /* 0x00000008 -- currently unused */ 386 /* (1ULL << 3) -- currently unused */
387#define XFS_MOUNT_FS_SHUTDOWN 0x00000010 /* atomic stop of all filesystem 387#define XFS_MOUNT_FS_SHUTDOWN (1ULL << 4) /* atomic stop of all filesystem
388 operations, typically for 388 operations, typically for
389 disk errors in metadata */ 389 disk errors in metadata */
390#define XFS_MOUNT_NOATIME 0x00000020 /* don't modify inode access 390#define XFS_MOUNT_NOATIME (1ULL << 5) /* don't modify inode access
391 times on reads */ 391 times on reads */
392#define XFS_MOUNT_RETERR 0x00000040 /* return alignment errors to 392#define XFS_MOUNT_RETERR (1ULL << 6) /* return alignment errors to
393 user */ 393 user */
394#define XFS_MOUNT_NOALIGN 0x00000080 /* turn off stripe alignment 394#define XFS_MOUNT_NOALIGN (1ULL << 7) /* turn off stripe alignment
395 allocations */ 395 allocations */
396#define XFS_MOUNT_COMPAT_ATTR 0x00000100 /* do not use attr2 format */ 396#define XFS_MOUNT_COMPAT_ATTR (1ULL << 8) /* do not use attr2 format */
397 /* 0x00000200 -- currently unused */ 397 /* (1ULL << 9) -- currently unused */
398#define XFS_MOUNT_NORECOVERY 0x00000400 /* no recovery - dirty fs */ 398#define XFS_MOUNT_NORECOVERY (1ULL << 10) /* no recovery - dirty fs */
399#define XFS_MOUNT_SHARED 0x00000800 /* shared mount */ 399#define XFS_MOUNT_SHARED (1ULL << 11) /* shared mount */
400#define XFS_MOUNT_DFLT_IOSIZE 0x00001000 /* set default i/o size */ 400#define XFS_MOUNT_DFLT_IOSIZE (1ULL << 12) /* set default i/o size */
401#define XFS_MOUNT_OSYNCISOSYNC 0x00002000 /* o_sync is REALLY o_sync */ 401#define XFS_MOUNT_OSYNCISOSYNC (1ULL << 13) /* o_sync is REALLY o_sync */
402 /* osyncisdsync is now default*/ 402 /* osyncisdsync is now default*/
403#define XFS_MOUNT_32BITINODES 0x00004000 /* do not create inodes above 403#define XFS_MOUNT_32BITINODES (1ULL << 14) /* do not create inodes above
404 * 32 bits in size */ 404 * 32 bits in size */
405#define XFS_MOUNT_32BITINOOPT 0x00008000 /* saved mount option state */ 405#define XFS_MOUNT_32BITINOOPT (1ULL << 15) /* saved mount option state */
406#define XFS_MOUNT_NOUUID 0x00010000 /* ignore uuid during mount */ 406#define XFS_MOUNT_NOUUID (1ULL << 16) /* ignore uuid during mount */
407#define XFS_MOUNT_BARRIER 0x00020000 407#define XFS_MOUNT_BARRIER (1ULL << 17)
408#define XFS_MOUNT_IDELETE 0x00040000 /* delete empty inode clusters*/ 408#define XFS_MOUNT_IDELETE (1ULL << 18) /* delete empty inode clusters*/
409#define XFS_MOUNT_SWALLOC 0x00080000 /* turn on stripe width 409#define XFS_MOUNT_SWALLOC (1ULL << 19) /* turn on stripe width
410 * allocation */ 410 * allocation */
411#define XFS_MOUNT_IHASHSIZE 0x00100000 /* inode hash table size */ 411#define XFS_MOUNT_IHASHSIZE (1ULL << 20) /* inode hash table size */
412#define XFS_MOUNT_DIRSYNC 0x00200000 /* synchronous directory ops */ 412#define XFS_MOUNT_DIRSYNC (1ULL << 21) /* synchronous directory ops */
413#define XFS_MOUNT_COMPAT_IOSIZE 0x00400000 /* don't report large preferred 413#define XFS_MOUNT_COMPAT_IOSIZE (1ULL << 22) /* don't report large preferred
414 * I/O size in stat() */ 414 * I/O size in stat() */
415 415
416 416