From: NeilBrown <neilb@suse.com>
To: Guoqing Jiang <gqjiang@suse.com>, jsorensen@fb.com
Cc: linux-raid@vger.kernel.org
Subject: Re: [mdadm PATCH] mdadm: make create clustered raid10 possible
Date: Wed, 25 Oct 2017 07:05:14 +1100 [thread overview]
Message-ID: <87efpse2h1.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <20171024073124.7751-1-gqjiang@suse.com>
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
On Tue, Oct 24 2017, Guoqing Jiang wrote:
> This change to make we can create a clustered
> raid10 array as well.
>
> Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
> ---
> mdadm.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/mdadm.c b/mdadm.c
> index 7cdcdba7c652..60d80e0103f4 100644
> --- a/mdadm.c
> +++ b/mdadm.c
> @@ -1542,8 +1542,9 @@ 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");
Please don't wrap strings. It makes it hard to search for them.
Long line might be bad, but wrapped strings are worse.
Thanks,
NeilBrown
> rv = 1;
> break;
> }
> --
> 2.10.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-10-24 20:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-24 7:31 [mdadm PATCH] mdadm: make create clustered raid10 possible Guoqing Jiang
2017-10-24 20:05 ` NeilBrown [this message]
2017-10-24 20:09 ` Jes Sorensen
2017-10-30 5:57 ` Shaohua Li
2017-10-30 6:54 ` 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=87efpse2h1.fsf@notabene.neil.brown.name \
--to=neilb@suse.com \
--cc=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 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.