]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs: test that truncate does not return ENOSPC xfs-zoned-2024-12-09
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Nov 2024 05:20:33 +0000 (06:20 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 29 Nov 2024 06:15:50 +0000 (07:15 +0100)
commitfda62a4d2172b818fdb4311ba8204d291d198149
tree0a8cc0e3fa2d84b95b1374065683521ca8807bd2
parent3f9330bf9d82428bb8a6343a613ca0426aa14ff5
xfs: test that truncate does not return ENOSPC

For zoned file systems, truncate to an offset not aligned to the block
size need to allocate a new block for zeroing the remainder.

Test that this allocation can dip into the reserved pool even when other
threads are waiting for space freed by GC.

Signed-off-by: Christoph Hellwig <hch@lst.de>
tests/xfs/4213 [new file with mode: 0755]
tests/xfs/4213.out [new file with mode: 0644]