]> git.baikalelectronics.ru Git - kernel.git/commit
block: shortcut __submit_bio_noacct for blk-mq drivers
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Jul 2020 08:59:46 +0000 (10:59 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Jul 2020 13:27:24 +0000 (07:27 -0600)
commitf5d1595df9162cf8f62ddd1c1794813d900e0edd
tree07d57c6c7d93ec6e58f0479af6a3169d0617b347
parent386aca3291133d6c68376911b6f30030a86fe7b8
block: shortcut __submit_bio_noacct for blk-mq drivers

For blk-mq drivers bios can only be inserted for the same queue.  So
bypass the complicated sorting logic in __submit_bio_noacct with
a blk-mq simpler submission helper.

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