From: NeilBrown Date: Thu, 22 Dec 2011 22:56:55 +0000 (+1100) Subject: md/linear: fix hot-add of devices to linear arrays. X-Git-Tag: v3.2-rc7~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cd9270ea52e0f9851528e8ed028073f96b3c34;p=pandora-kernel.git md/linear: fix hot-add of devices to linear arrays. commit d70ed2e4fafdbef0800e73942482bb075c21578b 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: NeilBrown --- Reading git-diff-tree failed