Skip to content
Commit 09cd9270 authored by NeilBrown's avatar NeilBrown
Browse files

md/linear: fix hot-add of devices to linear arrays.



commit d70ed2e4
broke hot-add to a linear array.
After that commit, metadata if not written to devices until they
have been fully integrated into the array as determined by
saved_raid_disk.  That patch arranged to clear that field after
a recovery completed.

However for linear arrays, there is no recovery - the integration is
instantaneous.  So we need to explicitly clear the saved_raid_disk
field.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 5d8c71f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment