All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zorro Lang <zlang@redhat.com>
To: fstests@vger.kernel.org
Subject: [PATCH v4 2/2] common/dump: disable splice from FSSTRESS_AVOID
Date: Wed, 23 Jan 2019 15:34:55 +0800	[thread overview]
Message-ID: <20190123073455.24539-2-zlang@redhat.com> (raw)
In-Reply-To: <20190123073455.24539-1-zlang@redhat.com>

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

  reply	other threads:[~2019-01-23  7:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23  7:34 [PATCH v4 1/2] fsstress: add splice support Zorro Lang
2019-01-23  7:34 ` Zorro Lang [this message]
2019-02-01  2:11 ` Darrick J. Wong
2019-02-01  5:07   ` Zorro Lang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190123073455.24539-2-zlang@redhat.com \
    --to=zlang@redhat.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.