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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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@xxxxxxxxxx>
---

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 --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 "-----------------------------------------------"
-- 
2.17.2




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux