]> 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)
commite806ddd59b5eaaa40ac7f4050c2732e171a38f44
tree44ecf60a95b280219d2872c1dec05a3f6f9a7e72
parenteefc8b02c31b3a720276f5ee01baad23987f7152
Revert "blk-mq, elevator: Count requests per hctx to improve performance"

This reverts commit d567df06d0516790184f5178c10935e2c197eb84.

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