From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: zhilong <zlliu@suse.com>
Cc: Guoqing Jiang <gqjiang@suse.com>, linux-raid@vger.kernel.org
Subject: Re: [PATCH] mdadm:Add '--nodes' option in GROW mode
Date: Tue, 29 Mar 2016 11:43:06 -0400 [thread overview]
Message-ID: <wrfj60w5war9.fsf@redhat.com> (raw)
In-Reply-To: <56F4A0CB.1040609@suse.com> (zhilong's message of "Fri, 25 Mar 2016 10:22:03 +0800")
zhilong <zlliu@suse.com> writes:
> mdadm:add '--nodes' option in GROW mode, because
> 'Cluster nodes' is set 4 by default if the nodes
> parameter is not specified when switch bitmap
> from none to clustered.
>
> Signed-off-by: Zhilong Liu <zlliu@suse.com>
> ---
> mdadm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/mdadm.c b/mdadm.c
> index d2afcb2..58ac32a 100644
> --- a/mdadm.c
> +++ b/mdadm.c
> @@ -589,6 +589,7 @@ int main(int argc, char *argv[])
> ident.raid_disks = s.raiddisks;
> continue;
> case O(ASSEMBLE, Nodes):
> + case O(GROW, Nodes):
> case O(CREATE, Nodes):
> c.nodes = parse_num(optarg);
> if (c.nodes <= 0) {
Applied!
Something funny happened to the formatting of your patch. Somehow it
ended up with an additional space at the beginning of each line. Not
sure if it is related to your mail client using format-flowed.
I manually fixed it up, so it's all good.
Thanks,
Jes
prev parent reply other threads:[~2016-03-29 15:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-22 11:44 [PATCH] Add '--nodes' option in GROW mode zhilong
2016-03-22 17:56 ` Jes Sorensen
2016-03-23 11:38 ` Guoqing Jiang
2016-03-24 16:31 ` Jes Sorensen
2016-03-25 2:22 ` [PATCH] mdadm:Add " zhilong
2016-03-29 15:43 ` Jes Sorensen [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=wrfj60w5war9.fsf@redhat.com \
--to=jes.sorensen@redhat.com \
--cc=gqjiang@suse.com \
--cc=linux-raid@vger.kernel.org \
--cc=zlliu@suse.com \
/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).