Christoph Hellwig
0cc61e64e2
block: fix timeout changes for legacy request drivers
...
blk_mq_complete_request can only be called for blk-mq drivers, but when
removing the BLK_EH_HANDLED return value, two legacy request timeout
methods incorrectly got switched to call blk_mq_complete_request.
Call __blk_complete_request instead to reinstance the previous behavior.
For that __blk_complete_request needs to be exported.
Fixes: 1fc2b62e ("scsi_transport_fc: complete requests from ->timeout")
Fixes: 0df0bb08 ("null_blk: complete requests from ->timeout")
Reported-by: Jianchao Wang <jianchao.w.wang@oracle.com >
Signed-off-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2018-06-19 11:27:18 -06:00
..
2018-06-05 09:20:53 -06:00
2017-11-03 11:29:50 -07:00
2018-05-09 08:33:06 -06:00
2018-05-31 08:54:41 -06:00
2018-05-31 08:54:38 -06:00
2018-01-18 08:21:37 -07:00
2018-05-14 13:16:03 -06:00
2018-06-08 13:36:19 -07:00
2018-04-19 08:51:59 -06:00
2018-06-07 06:56:01 -06:00
2018-01-17 09:49:21 -07:00
2018-06-09 06:37:14 -06:00
2018-05-24 13:38:59 -06:00
2017-11-02 11:10:55 +01:00
2018-05-08 15:10:44 -06:00
2018-01-29 11:51:49 -08:00
2018-06-02 20:35:00 -06:00
2018-04-10 08:38:46 -06:00
2018-05-29 08:59:21 -06:00
2017-11-02 11:10:55 +01:00
2018-03-27 21:25:36 -06:00
2017-08-08 14:58:03 -04:00
2018-06-02 20:35:00 -06:00
2018-06-01 07:38:19 -06:00
2018-05-24 13:38:59 -06:00
2018-06-14 17:01:45 +02:00
2017-11-14 15:32:19 -08:00
2017-02-27 20:54:05 +02:00
2018-06-14 08:39:46 -06:00
2018-05-29 08:59:21 -06:00
2018-03-08 14:13:48 -07:00
2018-06-19 11:27:18 -06:00
2018-05-09 08:33:09 -06:00
2018-05-09 08:33:09 -06:00
2018-05-30 15:33:32 -06:00
2018-06-15 08:13:35 -06:00
2018-05-30 12:48:22 -06:00
2018-05-29 08:59:21 -06:00
2018-05-09 08:33:05 -06:00
2018-05-09 08:33:05 -06:00
2018-05-22 11:58:07 -06:00
2018-06-01 07:38:21 -06:00
2018-05-30 18:51:21 -06:00
2018-05-29 13:00:25 -06:00
2018-06-15 08:15:37 -06:00
2018-05-24 13:38:59 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-24 13:38:59 -06:00
2018-06-01 07:38:21 -06:00
2018-06-04 10:00:01 -07:00
2018-02-23 15:20:19 -07:00
2018-05-31 10:50:54 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-30 10:47:40 -06:00
2017-11-02 11:10:55 +01:00
2018-05-24 13:38:59 -06:00
2017-01-17 10:03:33 -07:00
2017-09-11 09:45:52 -06:00
2018-05-29 08:59:21 -06:00
2018-05-14 08:55:18 -06:00
2018-04-05 14:27:02 -07:00
2017-07-03 16:56:25 -06:00