]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix is_resync_complete for RAID10
authorNeilBrown <neilb@suse.de>
Tue, 30 Jul 2013 23:18:57 +0000 (09:18 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 30 Jul 2013 23:22:18 +0000 (09:22 +1000)
commit71d68ff62f945254240575cd836f5f2a09ced5d2
tree3b0228a722904beaa201aea323e234223041c098
parent364a48c9923c5164af848467c77aece080ba74fc
Fix is_resync_complete for RAID10

For RAID10, 'sync' numbers go up to the array size rather than the
component size.  is_resync_complete() needs to allow for this.

Reported-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
mdmon.h