]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/269: require no compression
authorJosef Bacik <josef@toxicpanda.com>
Thu, 16 May 2024 22:12:48 +0000 (00:12 +0200)
committerAnand Jain <anand.jain@oracle.com>
Fri, 24 May 2024 04:06:43 +0000 (12:06 +0800)
commita0e33b4b47318176780b992d9c420e3ba58b3c5a
treeb24d363e1195d086fdbe564a7f7c44ebbe6a345a
parentc99901745c41ea9614315700965037c13697dc6e
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 ]
tests/generic/269