]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs/185: update for rtgroups
authorDarrick J. Wong <djwong@kernel.org>
Tue, 6 Feb 2024 00:06:42 +0000 (16:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:41:58 +0000 (13:41 -0700)
commit2c5ee15df8f5d9f0443c559692629b1e81099b11
tree22e15170c802d4237dd93d3542ee75aa4212618e
parent0feac28c95e3484db42a781df67f393093f73cc6
xfs/185: update for rtgroups

This old test is a bit too fixated on exact rt allocator behavior.  With
rtgroups enabled, we can end up with one large contiguous region that's
split into multiple bmbt mappings to avoid crossing rtgroup boundaries.
The realtime superblock throws another twist into the mix because the
first rtx will always be in use, which can shift the start of the
physical space mappings by up to 1 rtx.

Also fix a bug where we'd try to fallocate the total number of rtx,
whereas we should be asking for the number of free rtx to avoid ENOSPC
errors.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
tests/xfs/185