* [PATCH V2] mdadm: make create clustered raid10 possible
@ 2017-10-25 1:19 Guoqing Jiang
2017-11-21 18:34 ` Jes Sorensen
0 siblings, 1 reply; 3+ messages in thread
From: Guoqing Jiang @ 2017-10-25 1:19 UTC (permalink / raw)
To: jsorensen; +Cc: linux-raid
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V2] mdadm: make create clustered raid10 possible
2017-10-25 1:19 [PATCH V2] mdadm: make create clustered raid10 possible Guoqing Jiang
@ 2017-11-21 18:34 ` Jes Sorensen
2017-11-22 1:16 ` Guoqing Jiang
0 siblings, 1 reply; 3+ messages in thread
From: Jes Sorensen @ 2017-11-21 18:34 UTC (permalink / raw)
To: Guoqing Jiang; +Cc: linux-raid
On 10/24/2017 09:19 PM, 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 | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
I think I missed this one, however it doesn't apply anymore.
If it's still needed, could you please post an updated version.
Thanks,
Jes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH V2] mdadm: make create clustered raid10 possible
2017-11-21 18:34 ` Jes Sorensen
@ 2017-11-22 1:16 ` Guoqing Jiang
0 siblings, 0 replies; 3+ messages in thread
From: Guoqing Jiang @ 2017-11-22 1:16 UTC (permalink / raw)
To: Jes Sorensen; +Cc: linux-raid
On 11/22/2017 02:34 AM, Jes Sorensen wrote:
> On 10/24/2017 09:19 PM, 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 | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
> I think I missed this one, however it doesn't apply anymore.
>
> If it's still needed, could you please post an updated version.
It is not needed since the v3 version had already been merged, :)
Thanks,
Guoqing
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-22 1:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25 1:19 [PATCH V2] mdadm: make create clustered raid10 possible Guoqing Jiang
2017-11-21 18:34 ` Jes Sorensen
2017-11-22 1:16 ` Guoqing Jiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox