]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: fix start_reshape for shrinking arrays.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 19:59:45 +0000 (06:59 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 19:59:45 +0000 (06:59 +1100)
commit27a1e5b5a48d89feffb49ceab94e1ac764258f79
tree62fde29522029740db6f1ce1906b31ee10e07d77
parent0b50d3359a66aaface15af2471227560d7707f3b
Grow: fix start_reshape for shrinking arrays.

When an array is being reshaped to fewer data devices the relationship
between sync_max and reshape_progress is different to when the number
of devices increases - we need to allow for that when setting
sync_max/sync_min.

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