]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Stop: improve synchronising of reshape with whole stripes.
authorNeilBrown <neilb@suse.de>
Tue, 2 Jul 2013 06:18:21 +0000 (16:18 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 2 Jul 2013 06:18:21 +0000 (16:18 +1000)
commit5509dc44d8f23d8501212b3d1f33dd35354b018b
tree838e914923969e6a45ada66ca45975f7d5c9f5ef
parentefb3994e4829f35e74b422e61c37eba79561fd4c
Stop: improve synchronising of reshape with whole stripes.

It is possible for 'sync_completed' to be further ahead than
we deduced from 'reshape_position'.  However we cannot read it while
the array is frozen, so it is hard to know.

Once that array is unfrozen, check and if sync_completed is ahead of
'sync_max',  push 'sync_max' well ahead if 'sync_completed' so it
will all synchronise up properly.

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