Files
linux/drivers/md
Christoph Hellwig 9966afaf91 dm: fix REQ_RAHEAD handling
A few (but not all) dm targets use a special EWOULDBLOCK error code for
failing REQ_RAHEAD requests that fail due to a lack of available resources.
But no one else knows about this magic code, and lower level drivers also
don't generate it when failing read-ahead requests for similar reasons.

So remove this special casing and ignore all additional error handling for
REQ_RAHEAD - if this was a real underlying error we'd get a normal read
once the real read comes in.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-06-09 09:27:32 -06:00
..
2017-04-08 11:25:38 -06:00
2016-11-01 09:43:26 -06:00
2017-06-09 09:27:32 -06:00
2017-05-08 17:15:12 -07:00
2017-06-09 09:27:32 -06:00
2016-08-07 14:41:02 -06:00
2017-05-01 14:09:21 -07:00
2017-04-08 11:25:38 -06:00
2015-08-13 12:31:57 -06:00
2017-05-12 14:41:15 -07:00