]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs: test that truncate does not spuriously return ENOSPC xfs-zoned-rebase
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Nov 2024 05:20:33 +0000 (06:20 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 8 Apr 2025 06:50:39 +0000 (08:50 +0200)
commitd0363b91619b1dd9bf7094a3d3f8d265e7addad4
tree9df73c96ba443c49747108f01f295e0b3acb6d19
parent13ea10a459394a2b2560b4e83456464f5015b011
xfs: test that truncate does not spuriously 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]