diff mbox series

[v4,2/2] common/dump: disable splice from FSSTRESS_AVOID

Message ID 20190123073455.24539-2-zlang@redhat.com (mailing list archive)
State New, archived
Headers show
Series [v4,1/2] fsstress: add splice support | expand

Commit Message

Zorro Lang Jan. 23, 2019, 7:34 a.m. UTC
New fsstress operation breaks fs dump/restore testing which use
fsstress, e.g xfs/068.

In _create_dumpdir_stress_num, disable splice in fsstress so that we
dump exactly the same set of files and directories no matter how the
xfs is configured.

Signed-off-by: Zorro Lang <zlang@redhat.com>
---

Hi,

V4 only changed this patch. Ealier patch tried to change xfs/086.out,
this patche add splice into FSSTRESS_AVOID for dump/restore testing.

Thanks,
Zorro

 common/dump | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/common/dump b/common/dump
index 4d1a1607..b17771b9 100644
--- a/common/dump
+++ b/common/dump
@@ -310,6 +310,9 @@  _create_dumpdir_stress_num()
     if $FSSTRESS_PROG | grep -q copyrange; then
         FSSTRESS_AVOID="-f copyrange=0 $FSSTRESS_AVOID"
     fi
+    if $FSSTRESS_PROG | grep -q splice; then
+        FSSTRESS_AVOID="-f splice=0 $FSSTRESS_AVOID"
+    fi
 
     echo ""
     echo "-----------------------------------------------"