]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: Honor !reshape state on wait_reshape() entry
authorAdam Kwolek <adam.kwolek@intel.com>
Fri, 3 Dec 2010 04:10:20 +0000 (15:10 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 3 Dec 2010 04:10:20 +0000 (15:10 +1100)
commit92a19f1a78e040202e3d067960e3b1ecc8162881
tree7771c2046b21723a04ebabb4f84e892629985690
parenta9d868c3a25e79c275de682e146f5238d3a446c6
FIX: Honor !reshape state on wait_reshape() entry

When wait_reshape() function starts it can occurs that reshape is
finished already, before wait_reshape() start. This can lead to wait
for change state inside this function for a long time.  To avoid this
before wait we should test if finish conditions are not reached
already.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c