]> git.ipfire.org Git - thirdparty/mdadm.git/commit
IMSM: fix wait_for_reshape_imsm
authorNeilBrown <neilb@suse.de>
Wed, 10 Jul 2013 23:48:25 +0000 (09:48 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 11 Jul 2013 02:26:15 +0000 (12:26 +1000)
commit85ca499c6b65c8999bd905dd17c0a37707abd77e
tree9adb97cfc2b9e40229f99a98dd45b10bee6e37fe
parent3afaff930c4840911ebf114f43fdd5d93c07af1f
IMSM: fix wait_for_reshape_imsm

This was waiting on "reshape_position" which doesn't
get update events.
Before sysfs_wait was introduced, the code to wait didn't
wait at all, so it spun.
With sysfs_wait, it would wait forever.

Change to wait in sync_completed which does get events.

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