]> git.baikalelectronics.ru Git - kernel.git/commit
block: get rid of plug list sorting
authorJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 16:08:49 +0000 (10:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:55:26 +0000 (05:55 -0600)
commit9e7a0e1cc88104ae1839845e65fa009e9ed0573b
tree5634ffc8ccf7e2e579a6d7b296b0fda7dc625116
parentfacd200a9b144837222eba39371a6afae7ebb482
block: get rid of plug list sorting

Even if we have multiple queues in the plug list, chances that they
are very interspersed is minimal. Don't bother spending CPU cycles
sorting the list.

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