diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-09-21 17:22:09 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-30 16:48:00 +0300 |
commit | 4b6a5d9cea911424e84107df8c4eb8317938d2cd (patch) | |
tree | e62e8091470a63c018855e263bd10be2ee353c67 /drivers/scsi | |
parent | e73a625bc24880f1fe5abaa89bb63e0918fbd66c (diff) | |
download | linux-4b6a5d9cea911424e84107df8c4eb8317938d2cd.tar.xz |
block: enable batched allocation for blk_mq_alloc_request()
The filesystem IO path can take advantage of allocating batches of
requests, if the underlying submitter tells the block layer about it
through the blk_plug. For passthrough IO, the exported API is the
blk_mq_alloc_request() helper, and that one does not allow for
request caching.
Wire up request caching for blk_mq_alloc_request(), which is generally
done without having a bio available upfront.
Tested-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions