diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-07-29 13:19:55 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-08-02 16:08:59 -0400 |
commit | 99f3c90d0d85708e7401a81ce3314e50bf7f2819 (patch) | |
tree | 97e77eb78fa2f23e30a3279caed0c08af77bdf90 /lib/bcd.c | |
parent | f7b32e4c021fd788f13f6785e17efbc3eb05b351 (diff) |
dm flakey: error READ bios during the down_interval
When the corrupt_bio_byte feature was introduced it caused READ bios to
no longer be errored with -EIO during the down_interval. This had to do
with the complexity of needing to submit READs if the corrupt_bio_byte
feature was used.
Fix it so READ bios are properly errored with -EIO; doing so early in
flakey_map() as long as there isn't a match for the corrupt_bio_byte
feature.
Fixes: a3998799fb4df ("dm flakey: add corrupt_bio_byte feature")
Reported-by: Akira Hayakawa <ruby.wktk@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions