summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-02 10:35:56 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 10:35:56 +1100
commitf74dee42765db1c2ed584de7ac66aa619c40c79e (patch)
treed8ea6ab00eb94df9e4900c3a26b2e0199070faa2 /fs/xfs
parentaf4e34a5274e92c576fc0c3a4b27ae7d4a06096a (diff)
downloadlinux-3.10-f74dee42765db1c2ed584de7ac66aa619c40c79e.tar.gz
linux-3.10-f74dee42765db1c2ed584de7ac66aa619c40c79e.tar.bz2
linux-3.10-f74dee42765db1c2ed584de7ac66aa619c40c79e.zip
[XFS] Ondisk format extension for extended attributes (attr2). Basically,
the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward. Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers. It is self enabling, but can be forced on/off via the attr2/noattr2 mount options. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23837a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_mount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index b71af184aea..5c5e7bf4a8a 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -404,7 +404,7 @@ typedef struct xfs_mount {
user */
#define XFS_MOUNT_NOALIGN 0x00000080 /* turn off stripe alignment
allocations */
- /* 0x00000100 -- currently unused */
+#define XFS_MOUNT_COMPAT_ATTR 0x00000100 /* do not use attr2 format */
/* 0x00000200 -- currently unused */
#define XFS_MOUNT_NORECOVERY 0x00000400 /* no recovery - dirty fs */
#define XFS_MOUNT_SHARED 0x00000800 /* shared mount */