There is already logic in 075 to gracefully skip nfs for fsx
invocations with -x (xfs-specific preallocation) - just extend
this to any non-xfs filesystem, and add to test 112 as well.
Later we can change this behavior to use fallocate and include
more filesystems but this gets some fsx coverage for now.
Test 127 doesn't seem to have anything xfs-specific, so mark
that as generic too.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
echo "fsx.$_n : $_filter_param"
echo "-----------------------------------------------"
- if [ "$FSTYP" = "nfs" ]
+ if [ "$FSTYP" != "xfs" ]
then
if [ "$_n" = "1" -o "$_n" = "3" ]
then
- # HACK: nfs don't handle preallocation (-x) so just skip this test
+ # HACK: only xfs handles preallocation (-x) so just skip this test
return
fi
fi
# real QA test starts here
-_supported_fs xfs udf nfs
+_supported_fs generic
_supported_os IRIX Linux
size10=`expr 10 \* 1024 \* 1024` # 10 megabytes
echo "fsx.$_n : $_filter_param"
echo "-----------------------------------------------"
+ if [ "$FSTYP" != "xfs" ]
+ then
+ if [ "$_n" = "1" -o "$_n" = "3" ]
+ then
+ # HACK: only xfs handles preallocation (-x) so just skip this test
+ return
+ fi
+ fi
+
# This cd and use of -P gets full debug on $here (not TEST_DEV)
cd $out
if ! $here/ltp/fsx $_param -P $here $seq.$_n >/dev/null
# real QA test starts here
-_supported_fs xfs
+_supported_fs generic
_supported_os Linux
[ -x $here/ltp/aio-stress ] || \
}
# real QA test starts here
-_supported_fs xfs
+_supported_fs generic
_supported_os Linux
_setup_testdir