Re: [PATCH 0/5] Some improvements for blk-throttle

From: Baolin Wang
Date: Mon Sep 14 2020 - 01:32:07 EST


Hi Tejun and Jens,

On Mon, Sep 07, 2020 at 04:10:12PM +0800, Baolin Wang wrote:
> Hi All,
>
> This patch set did some clean-ups, as well as removing some unnecessary
> bps/iops limitation calculation when checking if can dispatch a bio or
> not for a tg. Please help to review. Thanks.

Any comments for this patch set?

>
> Baolin Wang (5):
> blk-throttle: Fix some comments' typos
> blk-throttle: Use readable READ/WRITE macros
> blk-throttle: Define readable macros instead of static variables
> blk-throttle: Avoid calculating bps/iops limitation repeatedly
> blk-throttle: Avoid checking bps/iops limitation if bps or iops is
> unlimited
>
> block/blk-throttle.c | 59 ++++++++++++++++++++++++++++++++--------------------
> 1 file changed, 36 insertions(+), 23 deletions(-)
>
> --
> 1.8.3.1