]> git.ipfire.org Git - thirdparty/mdadm.git/commit
super1: reserve at least 2 chunks for reshape headroom. r10-reshape
authorNeilBrown <neilb@suse.de>
Wed, 9 May 2012 10:49:32 +0000 (20:49 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 9 May 2012 10:49:32 +0000 (20:49 +1000)
commit164a67cd3b3319972b55d70080efad0537d22178
tree1d54ba7bd0443e566bfdab5ca4263a59bcf97eb5
parentd91b51cbe6ad36164200231f666e485cc9be0af2
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