Mike Snitzer 99f3c90d0d 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
2016-08-02 16:08:59 -04:00
..
2016-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-07-01 10:53:21 -04:00
2016-07-28 17:38:16 -07:00
2016-06-07 13:41:38 -06:00
2016-07-20 17:37:01 -06:00
2016-06-07 13:41:38 -06:00
2016-07-28 17:38:16 -07:00
2016-07-28 17:38:16 -07:00
2016-07-20 23:49:50 -04:00
2016-07-28 17:38:16 -07:00
2016-07-20 17:37:01 -06:00
2016-07-28 17:38:16 -07:00
2016-07-20 23:49:49 -04:00
2016-01-20 13:52:20 -08:00
2015-08-13 12:31:57 -06:00