diff options
author | Jonathan E Brassow <jbrassow@redhat.com> | 2012-03-28 17:41:26 (GMT) |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-03-28 17:41:26 (GMT) |
commit | 0447568fc51e0268e201f7086d2450cf986e0411 (patch) | |
tree | 879a6e4ae0b156f05487ac2eb058920e83a0285e /drivers/md/dm-queue-length.c | |
parent | fef838cc1ac34e599c74888274506d76767f3098 (diff) | |
download | linux-fsl-qoriq-0447568fc51e0268e201f7086d2450cf986e0411.tar.xz |
dm raid: handle failed devices during start up
The dm-raid code currently fails to create a RAID array if any of the
superblocks cannot be read. This was an oversight as there is already
code to handle this case if the values ('- -') were provided for the
failed array position.
With this patch, if a superblock cannot be read, the array position's
fields are initialized as though '- -' was set in the table. That is,
the device is failed and the position should not be used, but if there
is sufficient redundancy, the array should still be activated.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-queue-length.c')
0 files changed, 0 insertions, 0 deletions