]> 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)
commit711e36c92ec4f8ff85d39af060c0b414598c4065
tree07d57c6c7d93ec6e58f0479af6a3169d0617b347
parent48bc54244c4859f0ceb25926e3591f1ee937ef30
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