OSDN Git Service

block: Correct comment for scale_cookie_change
authorKemeng Shi <shikemeng@huawei.com>
Tue, 18 Oct 2022 11:12:39 +0000 (19:12 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Nov 2022 15:12:24 +0000 (09:12 -0600)
commit6891f968985f0569eaf56430518895b3c2885da1
tree4e954cb97720333e7f869a1fe1ef9d32888b3063
parentdb5896e9cf93f119c0b181c5e6b473d8bf0302e5
block: Correct comment for scale_cookie_change

Default queue depth of iolatency_grp is unlimited, so we scale down
quickly(once by half) in scale_cookie_change. Remove the "subtract
1/16th" part which is not the truth and add the actual way we
scale down.

Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
Link: https://lore.kernel.org/r/20221018111240.22612-3-shikemeng@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iolatency.c