diff options
author | Jan Kara <jack@suse.cz> | 2021-11-25 14:36:36 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-29 06:38:51 -0700 |
commit | 44dfa279f117646163db0c8760addb45dd6a0e8c (patch) | |
tree | 3496a0836124e90628538818ae315efce4025bac /block/bfq-iosched.h | |
parent | 98f044999ba141a6b6b79cb3a996a73f05a46820 (diff) | |
download | linux-44dfa279f117646163db0c8760addb45dd6a0e8c.tar.gz |
bfq: Store full bitmap depth in bfq_data
Store bitmap depth shift inside bfq_data so that we can use it in
bfq_limit_depth() for proportioning when limiting number of available
request tags for a cgroup.
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20211125133645.27483-3-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
-rw-r--r-- | block/bfq-iosched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h index 3787cfb0febb..820cb8c2d1fe 100644 --- a/block/bfq-iosched.h +++ b/block/bfq-iosched.h @@ -769,6 +769,7 @@ struct bfq_data { * function) */ unsigned int word_depths[2][2]; + unsigned int full_depth_shift; }; enum bfqq_state_flags { |