Mike Snitzer
681cc5e866
dm: fix request-based DM to not bounce through indirect dm_submit_bio
...
It is unnecessary to force request-based DM to call into bio-based
dm_submit_bio (via indirect disk->fops->submit_bio) only to have it then
call blk_mq_submit_bio().
Fix this by establishing a request-based DM block_device_operations
(dm_rq_blk_dops, which doesn't have .submit_bio) and update
dm_setup_md_queue() to set md->disk->fops to it for
DM_TYPE_REQUEST_BASED.
Remove DM_TYPE_REQUEST_BASED conditional in dm_submit_bio and unexport
blk_mq_submit_bio.
Fixes: c62b37d96b ("block: move ->make_request_fn to struct block_device_operations")
Signed-off-by: Mike Snitzer <snitzer@redhat.com >
2020-10-07 18:08:51 -04:00
..
2020-09-29 16:31:35 -04:00
2020-08-23 17:36:59 -05:00
2020-08-18 07:48:08 -07:00
2020-09-29 16:31:35 -04:00
2020-08-18 07:48:08 -07:00
2020-08-18 07:48:08 -07:00
2020-07-02 12:38:18 -06:00
2020-09-09 08:18:45 -06:00
2019-11-07 12:28:13 -07:00
2019-11-07 12:28:13 -07:00
2020-09-10 09:56:34 -06:00
2020-09-25 08:20:03 -06:00
2020-07-01 07:27:24 -06:00
2020-05-14 09:48:03 -06:00
2020-07-01 07:27:24 -06:00
2020-05-27 05:21:23 -06:00
2020-08-11 13:53:32 -06:00
2020-09-24 13:43:39 -06:00
2020-07-16 10:22:15 -06:00
2020-09-25 08:35:02 -06:00
2020-07-01 08:02:38 -06:00
2020-09-25 08:18:57 -06:00
2020-09-23 09:18:39 -06:00
2020-09-01 19:48:06 -06:00
2019-08-04 21:43:12 -06:00
2019-01-17 21:21:40 -07:00
2020-09-24 13:43:39 -06:00
2019-06-13 03:00:30 -06:00
2019-05-31 15:12:34 -06:00
2019-05-31 15:12:34 -06:00
2020-09-07 20:11:15 -06:00
2020-09-29 16:31:35 -04:00
2019-11-04 07:14:10 -07:00
2020-09-29 08:11:00 -06:00
2020-09-03 15:20:47 -06:00
2020-03-17 20:55:21 +01:00
2020-10-07 18:08:51 -04:00
2020-09-03 15:20:47 -06:00
2020-07-24 22:09:55 -04:00
2018-11-15 12:17:28 -07:00
2020-07-15 09:33:37 -06:00
2019-10-15 10:13:13 -06:00
2020-09-24 13:43:39 -06:00
2020-09-01 16:48:46 -06:00
2018-12-12 06:47:51 -07:00
2020-09-24 13:43:39 -06:00
2020-09-14 19:36:54 -06:00
2020-07-31 16:29:47 -06:00
2020-08-23 17:36:59 -05:00
2020-05-29 16:30:39 -06:00
2020-08-03 09:24:04 -06:00
2020-09-01 19:38:25 -06:00
2020-07-01 07:27:24 -06:00
2020-09-23 09:18:13 -06:00
2020-01-03 09:33:21 +01:00
2017-11-02 11:10:55 +01:00
2020-07-31 16:29:47 -06:00
2020-09-25 08:18:58 -06:00
2020-09-25 08:18:57 -06:00
2020-09-01 19:38:33 -06:00
2020-09-01 16:49:26 -06:00
2020-06-14 01:57:21 +09:00
2020-06-29 13:24:05 -06:00
2020-09-03 15:20:47 -06:00
2020-06-24 09:15:56 -06:00
2020-09-03 15:20:47 -06:00
2020-03-12 08:00:10 -06:00
2020-09-25 08:18:57 -06:00
2020-03-12 08:00:10 -06:00
2020-01-06 20:59:04 -07:00