]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble: fix assembly in the delta_disks > max_degraded case
authorDan Williams <dan.j.williams@intel.com>
Thu, 18 Nov 2010 09:22:01 +0000 (10:22 +0100)
committerNeilBrown <neilb@suse.de>
Tue, 23 Nov 2010 04:10:01 +0000 (15:10 +1100)
commitdcc4210f58ac500701d50a5fc32869eeae3df4ea
tree306bbc4161fe7f48c6605a8781ce8660c5d41ec7
parent4411fb174984d4ce01f5e28d638bc376a4b581fc
Assemble: fix assembly in the delta_disks > max_degraded case

Incremental assembly works on such an array because the kernel sees the
disk as in-sync and that the array is reshaping.  Teach Assemble() the
same assumptions.

This is only needed on kernels that do not initialize ->recovery_offset
when activating spares for reshape.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c