From: NeilBrown Date: Fri, 9 Sep 2005 23:23:50 +0000 (-0700) Subject: [PATCH] md: allow hot-adding devices to arrays with non-persistant superblocks. X-Git-Tag: v2.6.14-rc1~243 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b1e35f6d666693e8f376ce02242efca3ec09aaf;p=pandora-kernel.git [PATCH] md: allow hot-adding devices to arrays with non-persistant superblocks. It is possibly (and occasionally useful) to have a raid1 without persistent superblocks. The code in add_new_disk for adding a device to such an array always tries to read a superblock. This will obviously fail. So do the appropriate test and call md_import_device with appropriate args. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed