summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2016-08-17 15:36:44 +0200
committerMike Snitzer <snitzer@redhat.com>2016-08-17 16:42:39 +0200
commit9e7d9367e6a29e4cac85aa6df199f760dfa39c8a (patch)
treea48199ad035ece17f02a7c81c791f1329eede3e7 /kernel
parentdm raid: enhance attempt_restore_of_faulty_devices() to support more devices (diff)
downloadlinux-9e7d9367e6a29e4cac85aa6df199f760dfa39c8a.tar.xz
linux-9e7d9367e6a29e4cac85aa6df199f760dfa39c8a.zip
dm raid: support raid0 with missing metadata devices
The raid0 MD personality does not start a raid0 array with any of its data devices missing. dm-raid was removing data/metadata device pairs unconditionally if it failed to read a superblock off the respective metadata device of such pair, resulting in failure to start arrays with the raid0 personality. Avoid removing any data/metadata device pairs in case of raid0 (e.g. lvm2 segment type 'raid0_meta') thus allowing MD to start the array. Also, avoid region size validation for raid0. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions