Skip to content
Commit dc572f41 authored by Kemeng Shi's avatar Kemeng Shi Committed by Jens Axboe
Browse files

block: Replace struct rq_depth with unsigned int in struct iolatency_grp



We only need a max queue depth for every iolatency to limit the inflight io
number. Replace struct rq_depth with unsigned int to simplfy "struct
iolatency_grp" and save memory.

Signed-off-by: default avatarKemeng Shi <shikemeng@huawei.com>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20221018111240.22612-4-shikemeng@huawei.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6891f968
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment