]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "blk-mq, elevator: Count requests per hctx to improve performance"
authorJan Kara <jack@suse.cz>
Mon, 11 Jan 2021 16:47:16 +0000 (17:47 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:19:46 +0000 (18:19 -0700)
commit1edbe9a779b940b48547dff5ccdd55a6a372bda5
tree44ecf60a95b280219d2872c1dec05a3f6f9a7e72
parent99c30126fbb4cd5b444467efca00fcc4669074ef
Revert "blk-mq, elevator: Count requests per hctx to improve performance"

This reverts commit 74dab3ce86969b1004a1749c3af2732072cb3ebb.

Since both mq-deadline and BFQ completely ignore hctx they are passed to
their dispatch function and dispatch whatever request they deem fit
checking whether any request for a particular hctx is queued is just
pointless since we'll very likely get a request from a different hctx
anyway. In the following commit we'll deal with lock contention in these
IO schedulers in presence of multiple HW queues in a different way.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c
block/blk-mq.c
block/mq-deadline.c
include/linux/blk-mq.h