commit | e2568465bd55b3ee619d9ebd02cc330feffaae04 | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Sat Jan 14 03:53:10 2017 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Jan 25 12:49:07 2017 +0100 |
tree | 7481cb1db2ff94717e1f5bc20e6797ec9e668377 | |
parent | 63c32ed4afc2afd6b5551a8fcdea5b546dcaca4f [diff] |
dm raid: use read_disk_sb() throughout For consistency, call read_disk_sb() from attempt_restore_of_faulty_devices() instead of calling sync_page_io() directly. Explicitly set device to faulty on superblock read error. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>