]> git.ipfire.org Git - thirdparty/mdadm.git/commit
super1: reserve at least 2 chunks for reshape headroom.
authorNeilBrown <neilb@suse.de>
Thu, 4 Oct 2012 06:34:21 +0000 (16:34 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 4 Oct 2012 06:34:21 +0000 (16:34 +1000)
commitcb19a251a581fe78dcddd1d95dca4d8cb7664819
tree4bbeb54e5831adf527aecc406939ddea5365fd97
parent5e88ab2e2f87c4009529c19746841db136c8e1b9
super1: reserve  at least 2 chunks for reshape headroom.

sometimes 0.1% isn't enough, though mostly only in testing.

We need one chunk for a successful reshape, so reserve 2.

Signed-off-by: NeilBrown <neilb@suse.de>
super1.c