diff options
author | Kemeng Shi <shikemeng@huawei.com> | 2022-12-05 19:57:09 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-12-05 13:45:31 -0700 |
commit | eea3e8b74aa1648fc96b739458d067a6e498c302 (patch) | |
tree | 38d8c69f8551e406c7fda8b19063d6c846002afd /block/bio.c | |
parent | 9c9f209d9d81ea67cd84f53f470a592c252d845d (diff) |
blk-throttle: Use more suitable time_after check for update of slice_start
There is no need to update tg->slice_start[rw] to start when they are
equal already. So remove "eq" part of check before update slice_start.
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
Link: https://lore.kernel.org/r/20221205115709.251489-10-shikemeng@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions