]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: wait_backup() sometimes hungs
authorAdam Kwolek <adam.kwolek@intel.com>
Fri, 3 Dec 2010 10:33:55 +0000 (21:33 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 3 Dec 2010 10:33:55 +0000 (21:33 +1100)
commit9376b5aac29d89ee5b2be1bb2ced84faf1b50415
tree03462e347d04e7ab75b0669ca857f659326d1157
parent92a19f1a78e040202e3d067960e3b1ecc8162881
FIX: wait_backup() sometimes hungs

Sometimes wait_backup() omits transition from reshape to idle state
and mdadm seams to be hung.  So check the 'complete' count
*before* waiting rather than only after.

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