From: Guoqing Jiang <gqjiang@suse.com>
To: jsorensen@fb.com
Cc: linux-raid@vger.kernel.org
Subject: [PATCH V2] mdadm: make create clustered raid10 possible
Date: Wed, 25 Oct 2017 09:19:13 +0800 [thread overview]
Message-ID: <20171025011913.16870-1-gqjiang@suse.com> (raw)
This change to make we can create a clustered
raid10 array as well.
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
---
mdadm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mdadm.c b/mdadm.c
index 7cdcdba7c652..bf3da870f360 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1542,8 +1542,8 @@ int main(int argc, char *argv[])
break;
}
- if (s.level != 1) {
- pr_err("--bitmap=clustered is currently supported with RAID mirror only\n");
+ if (s.level != 1 && s.level != 10) {
+ pr_err("--bitmap=clustered is currently supported with raid1/10 only\n");
rv = 1;
break;
}
--
2.10.0
next reply other threads:[~2017-10-25 1:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 1:19 Guoqing Jiang [this message]
2017-11-21 18:34 ` [PATCH V2] mdadm: make create clustered raid10 possible Jes Sorensen
2017-11-22 1:16 ` Guoqing Jiang
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=20171025011913.16870-1-gqjiang@suse.com \
--to=gqjiang@suse.com \
--cc=jsorensen@fb.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