Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.0
mdadm
0210-mdadm-allow-clustered-raid10-to-be-created...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0210-mdadm-allow-clustered-raid10-to-be-created-with-defa.patch of Package mdadm
From 18160d345536b88419785c5e408cce402d9db2ae Mon Sep 17 00:00:00 2001 From: Guoqing Jiang <gqjiang@suse.com> Date: Wed, 3 Jan 2018 15:01:22 +0800 Subject: [PATCH] mdadm: allow clustered raid10 to be created with default layout Git-commit: 18160d345536b88419785c5e408cce402d9db2ae Patch-mainline: mdadm-4.0+ References: bsc#1083881 Since the default layout of raid10 is n2, so we should allow the behavior. Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com> --- mdadm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdadm.c b/mdadm.c index 62d7ec34a17f..afc3015144d3 100644 --- a/mdadm.c +++ b/mdadm.c @@ -1547,7 +1547,7 @@ int main(int argc, char *argv[]) rv = 1; break; } - if (s.level == 10 && !is_near_layout_10(s.layout)) { + if (s.level == 10 && !(is_near_layout_10(s.layout) || s.layout == UnSet)) { pr_err("only near layout is supported with clustered raid10\n"); rv = 1; break; -- 2.10.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor