Re: [PATCH] mdadm:Add '--nodes' option in GROW mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



zhilong <zlliu@xxxxxxxx> 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@xxxxxxxx>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux