aboutsummaryrefslogtreecommitdiffstats
path: root/lib/math/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2020-10-08 11:52:23 +0800
committerJens Axboe <axboe@kernel.dk>2020-10-08 08:01:37 -0600
commit7901601aef35082d8431d05ab50a3567f7624b55 (patch)
treeabac41987e02d3e86593714e33a22e2e8b640a6e /lib/math/git:/ssh:/git@git.zx2c4.com
parentblk-throttle: Remove a meaningless parameter for throtl_downgrade_state() (diff)
downloadlinux-dev-7901601aef35082d8431d05ab50a3567f7624b55.tar.xz
linux-dev-7901601aef35082d8431d05ab50a3567f7624b55.zip
blk-throttle: Avoid getting the current time if tg->last_finish_time is 0
We only update the tg->last_finish_time when the low limitaion is enabled, so we can move the tg->last_finish_time validation a little forward to avoid getting the unnecessary current time stamp if the the low limitation is not enabled. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions