On 12/11/2021 18:23, Josef Bacik wrote: > Our nightly xfstests runs exposed a set of tests that always fail if we > have compression enabled. This is because compression obviously messes > with the amount of data space allocated on disk, and these tests are > testing either that quota is doing the correct thing, or that we're able > to completely fill the file system. > > Add a helper to check to see if we have any of our compression related > mount options set and simply _not_run for these specific tests. > > Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx> > --- > common/btrfs | 10 ++++++++++ > tests/btrfs/126 | 4 ++++ > tests/btrfs/139 | 4 ++++ > tests/btrfs/230 | 4 ++++ > tests/btrfs/232 | 4 ++++ > tests/generic/275 | 4 ++++ > tests/generic/427 | 4 ++++ > 7 files changed, 34 insertions(+) btrfs/237 will also need this check I think.