summaryrefslogtreecommitdiffstats
path: root/tests/05r5-internalbitmap
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-11-17 13:15:34 +1100
committerNeilBrown <neilb@suse.de>2009-11-17 13:15:34 +1100
commitb8ab2a50aba72c7316d92d0fb414167844673136 (patch)
treec774854f3687f0f4a9d00e17001bf697639992ea /tests/05r5-internalbitmap
parentff94fb86fd22842c06e8fad08c27a4e365d7834a (diff)
downloadmdadm-b8ab2a50aba72c7316d92d0fb414167844673136.tar.gz
mdadm-b8ab2a50aba72c7316d92d0fb414167844673136.tar.xz
mdadm-b8ab2a50aba72c7316d92d0fb414167844673136.zip
Set default bitmap-chunksize for internal bitmaps to at least 64Meg
A small bitmap-chunksize hurts performance without helping resync speed much - particularly on internal bitmaps. So set the default to at least 64Meg. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/05r5-internalbitmap')
-rw-r--r--tests/05r5-internalbitmap2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/05r5-internalbitmap b/tests/05r5-internalbitmap
index 50dd36e..591c9db 100644
--- a/tests/05r5-internalbitmap
+++ b/tests/05r5-internalbitmap
@@ -2,7 +2,7 @@
#
# create a raid1 with an internal bitmap
#
-mdadm --create --run $md0 --level=5 -n3 --delay=1 --bitmap internal $dev1 $dev2 $dev3
+mdadm --create --run $md0 --level=5 -n3 --delay=1 --bitmap internal --bitmap-chunk=4 $dev1 $dev2 $dev3
check wait
testdev $md0 2 $mdsize1 512
mdadm -S $md0