summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorHeinz Mauelshagen2017-12-13 17:13:17 +0100
committerMike Snitzer2017-12-13 17:50:52 +0100
commit53bf5384f9b9e37c628f171366959a38c89779ca (patch)
tree5fa79fefd5cd37cebdb9b1ddbf78ac8c48bf4446 /ipc
parentdm raid: bump target version to reflect numerous fixes (diff)
downloadkernel-qcow2-linux-53bf5384f9b9e37c628f171366959a38c89779ca.tar.gz
kernel-qcow2-linux-53bf5384f9b9e37c628f171366959a38c89779ca.tar.xz
kernel-qcow2-linux-53bf5384f9b9e37c628f171366959a38c89779ca.zip
dm raid: validate current raid sets redundancy
Verifying the current raid sets redundancy based on retrieved superblock content has to use the superblock's raid level (e.g. raid0), not the constructor requested one (e.g. raid10). Using the requested raid level of raid10 lead to a "divide error" on raid0 which defines data copies divided by to be zero. Also check for bogus data copies. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions