summaryrefslogtreecommitdiff
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-03-05 10:36:21 +1100
committerNeilBrown <neilb@suse.de>2013-03-05 10:36:21 +1100
commit748952f73e34f9963ea82347f4d71d67dcb1096a (patch)
tree2a8fba749f92eb275fee410f1b54ad5fabf7f0b7 /mdadm.c
parent8af530b07fce27f56c56b2ffd254a40b4ab67c6b (diff)
Create: default to bitmap=internal for large arrays.
Here, "large" means components are 100G or more. It is usually beneficial to have write-intent bitmaps on such arrays. They can be suppressed with --bitmap=none Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mdadm.c b/mdadm.c
index 214afa31..c4c5f294 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1079,12 +1079,6 @@ int main(int argc, char *argv[])
case O(BUILD,Bitmap):
case O(CREATE,'b'):
case O(CREATE,Bitmap): /* here we create the bitmap */
- if (strcmp(optarg, "none") == 0) {
- pr_err("'--bitmap none' only"
- " supported for --grow\n");
- exit(2);
- }
- /* FALL THROUGH */
case O(GROW,'b'):
case O(GROW,Bitmap):
if (strcmp(optarg, "internal")== 0 ||