fsx: introduce FSX_AVOID env var
authorEric Sandeen <sandeen@redhat.com>
Tue, 22 Apr 2014 00:46:49 +0000 (10:46 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 22 Apr 2014 00:46:49 +0000 (10:46 +1000)
commitc365b11682ba2794982d117b611ad1e0376bcc7f
treeb0557de87db7284d3014a2136676a27b2a80b44f
parent6fcbf5898c2a05e950364da98b7ca4fb0b6ffd25
fsx: introduce FSX_AVOID env var

Just like FSSTRESS_AVOID, FSX_AVOID can be used to add
options at the end of the default fsx runs in each test.
i.e. FSX_AVOID="-H -z -C" will disable punch hole, zero range,
and collapse range calls in all tests which run fsx.

This should handle Ted's concerns about buggy ext4 fallocate
code without needing to add tunables to the kernel to reject
these operations during xfstests runs.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
README
tests/generic/075
tests/generic/091
tests/generic/112
tests/generic/127
tests/generic/231
tests/generic/263