mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: test speculative preallocation reclaim on ENOSPC/EDQUOT
XFS can allocate significant amounts of space to files via speculative preallocation. Such preallocation may not be reclaimed automatically on file close() if a file is repeatedly opened and extended. For smaller filesystems with relatively large and slow growing files, this preallocation can linger for some time, including contributing to out of space conditions. Create a situation where an fs is near out of space while several files still have lingering, significant preallocations. Verify that new writers reclaim the preallocated space rather than return ENOSPC. Repeat a similar test for quota limits and EDQUOT. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
f8c880df31
commit
34ff5cdfc4
@@ -10,6 +10,7 @@
|
||||
010 auto quick repair
|
||||
012 rw auto quick
|
||||
013 auto metadata stress
|
||||
014 auto enospc quick quota
|
||||
016 rw auto quick
|
||||
017 mount auto quick stress
|
||||
018 deprecated # log logprint v2log
|
||||
|
||||
Reference in New Issue
Block a user