diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-11-23 10:14:23 -0500 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-11-28 22:37:38 +0800 |
commit | 6fc65e3867240901d7f88867d886fd35ccd207c3 (patch) | |
tree | 21826b0b8037c0c2cc6b8204bc8ea210abf16efd | |
parent | efffdefa4a1374142e36ba41f58b87dee732912c (diff) | |
download | xfstests-dev-6fc65e3867240901d7f88867d886fd35ccd207c3.tar.gz |
generic/274: require no compress
We hit spurious errors with generic/274 with compression on because we
attempt to fill up the disk with small writes, and these writes end up
taking up metadata space instead of data space. Thus when we go to
write into the preallocated area we get an ENOSPC, but from the metadata
side and not the data side. Simply skip this test if we have
compression enabled.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-x | tests/generic/274 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/generic/274 b/tests/generic/274 index 43fc2d3e32..8c0e420e85 100755 --- a/tests/generic/274 +++ b/tests/generic/274 @@ -30,6 +30,10 @@ _supported_fs generic _require_scratch _require_xfs_io_command "falloc" "-k" +# Compression can exhaust metadata space here for btrfs and cause spurious +# failurs because we hit a metadata ENOSPC, skip if we have compression enabled +_require_no_compress + echo "------------------------------" echo "preallocation test" echo "------------------------------" |