]> www.infradead.org Git - users/hch/xfs-documentation.git/commit
docs: clarify what the ATTRBIT and ATTR2BIT feature flags do
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Jan 2017 22:51:52 +0000 (14:51 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 2 Jul 2017 04:40:15 +0000 (21:40 -0700)
commitb304a9479388c321cee17cc1d9d3601c19df0b0b
treeef31538bce59e7c93b3446760d69ca18cb615eeb
parentfc7cfa00bcdc8b880c7ea99a22796febfaee7f2b
docs: clarify what the ATTRBIT and ATTR2BIT feature flags do

It would seem that the disk format doesn't actually change depending on
ATTRBIT and ATTR2BIT.  The key difference is that ATTR2BIT (without the
'noattr2' mount option) allows di_forkoff to change depending on how
much space the attr fork needs, whereas ATTRBIT (without ATTR2BIT or
the 'attr2' mount option) does not allow di_forkoff to change.

In other words, at least one of the bits must be set if there are
extended attributes, but between the two bits the only difference is a
change in the default di_forkoff adjustment behaviors.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
design/XFS_Filesystem_Structure/allocation_groups.asciidoc