]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: robustify recovery-start detection
authorDan Williams <dan.j.williams@intel.com>
Wed, 26 May 2010 20:33:43 +0000 (13:33 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 26 May 2010 20:33:43 +0000 (13:33 -0700)
commit4363fd80bcc9f85ed824228dee5e6350a8d73e18
tree6831570d921c17421acb148e7ff0dad6d0f9fd87
parent10013317ce51c6b619f9782b55e9b6b9f536f0a8
imsm: robustify recovery-start detection

update_recovery_start() assumed that the out-of-sync disk would always be
marked as IMSM_ORD_REBUILD in the disk_ord_tbl, but the segmentation
fault reported by Andy proves otherwise.  This might also be explained by
an interrupted rebuild and the disk has not yet been marked missing.

https://bugzilla.redhat.com/show_bug.cgi?id=592030

Reported-by: Andy Lutomirski <luto@mit.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c