]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Allow --wait to wait for delayed resync.
authorNeilBrown <neilb@suse.de>
Wed, 21 Nov 2012 21:58:54 +0000 (08:58 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 21 Nov 2012 21:58:54 +0000 (08:58 +1100)
commit639c3c103a380a63457583cbbbaacf5aa37f7802
tree50d3421dcf77111fbe420ff8e9e67429f25568fa
parentae0dcfbdb23f2620f27ecb49338916c36b380e3e
Allow --wait to wait for delayed resync.

If a resync is delayed, then e->percent will be negative but not
RESYNC_NONE.  In that case we still want to wait.

Reported-by: Ross Boylan <ross@biostat.ucsf.edu>
Signed-off-by: NeilBrown <neilb@suse.de>
Monitor.c