block: attempt direct issue of plug list
authorJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 12:02:30 +0000 (06:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 15:22:04 +0000 (09:22 -0600)
commitdc5fc361d891e089dfd9c0a975dc78041036b906
tree004b0128343675f265496ef661afa6ac63c55835
parentbc490f81731e181b07b8d7577425c06ae91692c8
block: attempt direct issue of plug list

If we have just one queue type in the plug list, then we can extend our
direct issue to cover a full plug list as well. This allows sending a
batch of requests for direct issue, which is more efficient than doing
one-at-a-time kind of issue.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
include/linux/blkdev.h