]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Manage.c
Manage/stop: don't stop during initial critical section.
authorNeilBrown <neilb@suse.de>
Mon, 6 Jul 2015 03:45:39 +0000 (13:45 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 6 Jul 2015 03:45:39 +0000 (13:45 +1000)
commite3e0d0a8436f3dc79b7c80d02724467de6c2f7ab
treea5c4d9d14002beb613fa4e611fa5d5abe8b74edc
parent932be6276ee6a28ef64f11b260e0c9d3cafd6d4c
Manage/stop: don't stop during initial critical section.

If the array is reshaping to more devices, then stopping
during that initial critical section is a bad idea.
So check for it and wait a bit.

Should probably handle final critical section of a reduction
too.
same-size reshape should be handled correctly already.

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