diff options
author | Jan Kara <jack@suse.cz> | 2021-11-25 14:36:34 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 06:38:51 -0700 |
commit | 790cf9c84837b232eb413b8b6b5d57817176cb23 (patch) | |
tree | 42b0a8f5652c5e17e4faf6a61f750ffe157f10e1 /kernel | |
parent | 639d353143fa3bfa81bbe7af263260d93d23d822 (diff) |
block: Provide blk_mq_sched_get_icq()
Currently we lookup ICQ only after the request is allocated. However BFQ
will want to decide how many scheduler tags it allows a given bfq queue
(effectively a process) to consume based on cgroup weight. So provide a
function blk_mq_sched_get_icq() so that BFQ can lookup ICQ earlier.
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20211125133645.27483-1-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions