]> git.baikalelectronics.ru Git - kernel.git/commit
block: add mq_ops->queue_rqs hook
authorJens Axboe <axboe@kernel.dk>
Fri, 3 Dec 2021 13:48:53 +0000 (06:48 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 15:49:17 +0000 (08:49 -0700)
commite031a97e164d0fac0d1921ebb25c2c96c572051a
tree98a6604327a08c080282c6ca40d5e12783a8eb7d
parent1c5dc83ac77e226ce9625a875db6453e193e0234
block: add mq_ops->queue_rqs hook

If we have a list of requests in our plug list, send it to the driver in
one go, if possible. The driver must set mq_ops->queue_rqs() to support
this, if not the usual one-by-one path is used.

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