From: Chen Rong <rongx.a.chen@intel.com>
To: linux-raid@vger.kernel.org
Cc: Chen Rong <rongx.a.chen@intel.com>
Subject: [PATCH 2/2] tests/20raid5journal: fix test_incremental
Date: Thu, 17 Aug 2017 15:41:21 +0800 [thread overview]
Message-ID: <1502955681-17313-2-git-send-email-rongx.a.chen@intel.com> (raw)
In-Reply-To: <1502955681-17313-1-git-send-email-rongx.a.chen@intel.com>
Remove "check inactive", the result of /proc/mdstat is "active (read-only)",
Can not add $dev4 to a read only filesystem, so do "mdadm -I $dev4" first.
Signed-off-by: Chen Rong <rongx.a.chen@intel.com>
---
tests/20raid5journal | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/20raid5journal b/tests/20raid5journal
index f751ace..fee6c0c 100644
--- a/tests/20raid5journal
+++ b/tests/20raid5journal
@@ -40,12 +40,11 @@ test_assemble() {
# test --incremental
test_incremental() {
create_with_journal_and_stop
+ mdadm -I $dev4
for d in $dev0 $dev1 $dev2 $dev3
do
mdadm -I $d
done
- check inactive
- mdadm -I $dev4
check raid5
mdadm -S $md0
--
2.7.4
prev parent reply other threads:[~2017-08-17 7:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 7:41 [PATCH 1/2] incremental: fix check journal device Chen Rong
2017-08-17 7:41 ` Chen Rong [this message]
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=1502955681-17313-2-git-send-email-rongx.a.chen@intel.com \
--to=rongx.a.chen@intel.com \
--cc=linux-raid@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).