]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs/508: fix test for 64k blocksize
authorDarrick J. Wong <djwong@kernel.org>
Tue, 26 Nov 2024 01:21:34 +0000 (17:21 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 28 Nov 2024 13:39:49 +0000 (21:39 +0800)
commit27ce2a47a7735b56c09e1250f7ded12ccf8fcbef
tree70722635e8f49d6940473784e82967ce29b748f9
parentfa95cde52dcd7dcc30b9968da68741f8b16a6e43
xfs/508: fix test for 64k blocksize

It turns out that icreate transactions will try to reserve quite a bit
of space on a 64k fsblock filesystem -- enough to handle the worst case
parent directory expansion, a new inode chunk, and these days a parent
pointer as well.  This can work out to quite a bit of space:

fsblock reservation
1k 172K
4k 368K
16k 1136K
64k 3650K

Unfortunately, this test sets its block quota limits at 1-2MB, so we
can't even create a child file.  Bump the limits up by 10x so that this
test will pass even if there's more metadata size creep in the future.

Fixes: f769a923f576df ("xfs: project quota ineritance flag test")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/508