diff options
| author | Mike Snitzer <snitzer@redhat.com> | 2016-07-29 13:19:55 -0400 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2016-11-20 01:17:03 +0000 |
| commit | a774ae8f42f5486b8aa7bdb18d2f86b79bc52090 (patch) | |
| tree | 7dc44df909f3dccef11583a1c7d5a9ef0a0c129a /include/linux/stacktrace.h | |
| parent | ada56adfdb1d998d31c2c2c2ef3019dd854c14a6 (diff) | |
dm flakey: error READ bios during the down_interval
commit 99f3c90d0d85708e7401a81ce3314e50bf7f2819 upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
