]> git.ipfire.org Git - thirdparty/mdadm.git/commit
super1: reserve at least 2 chunks for reshape headroom.
authorNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:42:27 +0000 (09:42 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:42:27 +0000 (09:42 +1000)
commit5ef6ef98e9c4f0b6227a55ea3c909c7c61244b0a
tree60bbe99ab9d572c9320832fd84b86d6f787b424a
parent85bdd744c1504c6a4e7823f1dfa5cfbc3c5de44b
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