OSDN Git Service

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)
commitdf87eb0fce8fc891b43199447b9aeb3ea2d39bcf
tree5634ffc8ccf7e2e579a6d7b296b0fda7dc625116
parent87c037d11b83b93e9ab5eda9fb03c114f67024ff
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