diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 10:59:47 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 15:27:24 +0200 |
commit | 5a6c35f9af416114588298aa7a90b15bbed15a41 (patch) | |
tree | d28331c5a7ff99ba8d14f275a9aff9702268a984 /drivers/md/dm.c | |
parent | block: shortcut __submit_bio_noacct for blk-mq drivers (diff) | |
download | linux-5a6c35f9af416114588298aa7a90b15bbed15a41.tar.xz linux-5a6c35f9af416114588298aa7a90b15bbed15a41.zip |
block: remove direct_make_request
Now that submit_bio_noacct has a decent blk-mq fast path there is no
more need for this bypass.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index b32b539dbace..2cb33896198c 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1302,10 +1302,7 @@ static blk_qc_t __map_bio(struct dm_target_io *tio) /* the bio has been remapped so dispatch it */ trace_block_bio_remap(clone->bi_disk->queue, clone, bio_dev(io->orig_bio), sector); - if (md->type == DM_TYPE_NVME_BIO_BASED) - ret = direct_make_request(clone); - else - ret = submit_bio_noacct(clone); + ret = submit_bio_noacct(clone); break; case DM_MAPIO_KILL: free_tio(tio); |