diff options
author | Kemeng Shi <shikemeng@huawei.com> | 2022-12-05 12:57:06 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-12-05 21:44:59 +0100 |
commit | 009df341714c6c20a44dd9268681a8bff10bb050 (patch) | |
tree | ae40b2c0c91c6b885cdfee21615e77f02416f334 /block/blk-throttle.c | |
parent | blk-throttle: simpfy low limit reached check in throtl_tg_can_upgrade (diff) | |
download | linux-009df341714c6c20a44dd9268681a8bff10bb050.tar.xz linux-009df341714c6c20a44dd9268681a8bff10bb050.zip |
blk-throttle: fix typo in comment of throtl_adjusted_limit
lapsed time -> elapsed time
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
Link: https://lore.kernel.org/r/20221205115709.251489-7-shikemeng@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r-- | block/blk-throttle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 1623507ed56e..7db8592dae38 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -129,7 +129,7 @@ static struct throtl_data *sq_to_td(struct throtl_service_queue *sq) /* * cgroup's limit in LIMIT_MAX is scaled if low limit is set. This scale is to * make the IO dispatch more smooth. - * Scale up: linearly scale up according to lapsed time since upgrade. For + * Scale up: linearly scale up according to elapsed time since upgrade. For * every throtl_slice, the limit scales up 1/2 .low limit till the * limit hits .max limit * Scale down: exponentially scale down if a cgroup doesn't hit its .low limit |