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-08-26 10:50:50 -07:00
2020-09-16 19:36:26 +02:00
2020-09-04 13:19:19 -07:00
2020-09-03 18:50:48 -07:00
2020-09-05 14:22:46 -07:00
2020-09-13 09:02:59 -07:00
2020-09-29 16:31:35 -04:00
2020-08-23 17:36:59 -05:00
2020-09-10 09:32:31 -06:00
2020-09-23 10:43:19 -06:00
2020-09-10 13:42:35 -07:00
2020-09-20 10:51:11 -07:00
2020-08-22 11:38:42 +01:00
2020-09-01 21:15:00 +02:00
2020-09-18 11:48:25 -07:00
2020-08-30 15:53:44 -07:00
2020-09-20 08:57:36 -07:00
2020-09-04 12:12:39 -07:00
2020-09-03 17:47:02 +05:30
2020-09-15 09:42:15 +02:00
2020-08-23 17:36:59 -05:00
2020-09-20 15:18:11 -07:00
2020-08-23 17:36:59 -05:00
2020-09-18 08:52:06 +10:00
2020-09-02 12:55:46 -07:00
2020-08-23 17:36:59 -05:00
2020-09-15 16:20:43 -07:00
2020-08-29 12:37:00 -07:00
2020-08-23 17:36:59 -05:00
2020-09-18 23:11:44 +02:00
2020-08-23 17:36:59 -05:00
2020-09-25 08:18:57 -06:00
2020-08-26 12:41:53 +02:00
2020-09-13 09:15:20 -07:00
2020-09-11 10:02:36 -07:00
2020-09-20 10:40:43 -07:00
2020-09-04 00:07:12 +03:00
2020-09-18 11:17:19 +02:00
2020-08-30 11:56:54 -07:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-10-07 18:08:51 -04:00
2020-09-03 08:22:16 -07:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-28 10:15:33 -07:00
2020-09-13 08:52:21 -07:00
2020-09-29 16:31:35 -04:00
2020-09-29 16:31:35 -04:00
2020-08-23 17:36:59 -05:00
2020-09-03 18:50:48 -07:00
2020-09-03 18:50:48 -07:00
2020-08-23 17:36:59 -05:00
2020-09-24 13:43:39 -06:00
2020-09-29 16:31:35 -04:00
2020-09-01 19:44:20 +02:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-09-04 12:41:55 +02:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-09-16 14:16:04 +02:00
2020-08-23 17:36:59 -05:00
2020-09-05 19:52:54 +03:00
2020-09-11 11:25:55 -07:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-09-29 16:31:35 -04:00
2020-09-29 16:31:35 -04:00
2020-08-23 17:36:59 -05:00
2020-09-03 14:10:19 +05:30
2020-09-11 11:35:55 -07:00
2020-08-23 17:36:59 -05:00
2020-09-13 09:15:20 -07:00
2020-09-29 16:31:35 -04:00
2020-09-04 12:49:03 -07:00
2020-09-15 13:52:14 +02:00
2020-09-16 13:23:33 +02:00
2020-09-17 18:45:30 +02:00
2020-08-26 08:13:59 -04:00
2020-08-23 17:36:59 -05:00
2020-09-03 18:50:48 -07:00
2020-09-20 10:46:26 -07:00
2020-08-23 17:36:59 -05:00
2020-09-06 09:59:27 -07:00