diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-05-17 00:12:48 +0200 |
---|---|---|
committer | Anand Jain <anand.jain@oracle.com> | 2024-05-24 12:06:43 +0800 |
commit | a0e33b4b47318176780b992d9c420e3ba58b3c5a (patch) | |
tree | b24d363e1195d086fdbe564a7f7c44ebbe6a345a | |
parent | c99901745c41ea9614315700965037c13697dc6e (diff) |
generic/269: require no compression
This is meant to test ENOSPC, but we're dd'ing /dev/zero, which won't
fill up anything with compression on.
Additionally we're killing dd and then immediately trying to unmount.
With compression we could have references to the inode being held by the
async compression workers, so sometimes this will fail with EBUSY on the
unmount.
A better test would be to use slightly compressible data; use _ddt.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
[ changed to use _ddt ]
-rwxr-xr-x | tests/generic/269 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic/269 b/tests/generic/269 index b7cdecd9..29f45373 100755 --- a/tests/generic/269 +++ b/tests/generic/269 @@ -29,7 +29,7 @@ _workout() for ((i=0; i < num_iterations; i++)) do # File will be opened with O_TRUNC each time - dd if=/dev/zero of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M \ + _ddt of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M \ >> $seqres.full 2>&1 sleep $enospc_time done |