summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_bmap_btree.c
diff options
context:
space:
mode:
authorBrian Foster2015-05-29 00:57:27 +0200
committerDave Chinner2015-05-29 00:57:27 +0200
commite5376fc15acdd6b03b6d5223391842717148f0d7 (patch)
treed55256451d27653db8e3a89a2271524fc8909fb3 /fs/xfs/libxfs/xfs_bmap_btree.c
parentxfs: use sparse chunk alignment for min. inode allocation requirement (diff)
downloadkernel-qcow2-linux-e5376fc15acdd6b03b6d5223391842717148f0d7.tar.gz
kernel-qcow2-linux-e5376fc15acdd6b03b6d5223391842717148f0d7.tar.xz
kernel-qcow2-linux-e5376fc15acdd6b03b6d5223391842717148f0d7.zip
xfs: sparse inode chunks feature helpers and mount requirements
The sparse inode chunks feature uses the helper function to enable the allocation of sparse inode chunks. The incompatible feature bit is set on disk at mkfs time to prevent mount from unsupported kernels. Also, enforce the inode alignment requirements required for sparse inode chunks at mount time. When enabled, full inode chunks (and all inode record) alignment is increased from cluster size to inode chunk size. Sparse inode alignment must match the cluster size of the fs. Both superblock alignment fields are set as such by mkfs when sparse inode support is enabled. Finally, warn that sparse inode chunks is an experimental feature until further notice. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap_btree.c')
0 files changed, 0 insertions, 0 deletions