]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs/{050,144,153,299,330}: update quota reports to handle metadir trees
authorDarrick J. Wong <djwong@kernel.org>
Tue, 6 Feb 2024 00:06:38 +0000 (16:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:41:56 +0000 (13:41 -0700)
commit98c8c2b1f41a5b47509f265f123ca4de267f35e4
tree33fcb8538e37925daaec302ec6ce57a22f123329
parent9ed9cf059bd1dde1009732cf552a26f4ec04ee93
xfs/{050,144,153,299,330}: update quota reports to handle metadir trees

Prior to the new metadir feature in XFS, the rtbitmap and rtsummary
files were included in icount, though their bcount contribution is zero
due to rt and quota not being supported together.  With the new metadir
feature in XFS, no files in the metadata directory tree are counted in
quota.

Hence we must adjust the icount of any quota report down by two to avoid
breaking golden outputs.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
common/filter
common/xfs
tests/xfs/050
tests/xfs/153
tests/xfs/299
tests/xfs/330