diff options
author | Neil Brown <neilb@suse.de> | 2007-10-17 05:08:12 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-10-17 05:08:12 +0200 |
commit | 570510ba32858ddedf20a055240ddbf39d3b76e1 (patch) | |
tree | d164c25e85c02fc603eece909e0b5b1b05d50cca /ReadMe.c | |
parent | Clarify the avail/used devices sizes with version1 superblock. (diff) | |
download | mdadm-570510ba32858ddedf20a055240ddbf39d3b76e1.tar.xz mdadm-570510ba32858ddedf20a055240ddbf39d3b76e1.zip |
Add some extra consistency checks based on level.
Also use LEVEL_LINEAR, LEVEL_MULTIPATH in place of -1 or -4 in a few places.
Diffstat (limited to 'ReadMe.c')
-rw-r--r-- | ReadMe.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -592,7 +592,7 @@ mapping_t r5layout[] = { }; mapping_t pers[] = { - { "linear", -1}, + { "linear", LEVEL_LINEAR}, { "raid0", 0}, { "0", 0}, { "stripe", 0}, @@ -603,13 +603,13 @@ mapping_t pers[] = { { "4", 4}, { "raid5", 5}, { "5", 5}, - { "multipath", -4}, - { "mp", -4}, + { "multipath", LEVEL_MULTIPATH}, + { "mp", LEVEL_MULTIPATH}, { "raid6", 6}, { "6", 6}, { "raid10", 10}, { "10", 10}, - { "faulty", -5}, + { "faulty", LEVEL_FAULTY}, { NULL, 0} }; |