OSDN Git Service

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)
commitff93ea0ce7636345df1bf77a2be09dbb59f4517e
tree07d57c6c7d93ec6e58f0479af6a3169d0617b347
parent566acf2daaf2048c692abfc2342ab4a49b59ee40
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