[<prev] [next>] [day] [month] [year] [list]
Message-ID: <fd992897-2ef6-f574-eb07-5223fc6b1af5@kernel.dk>
Date: Wed, 21 Jul 2021 10:19:22 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Paolo Valente <paolo.valente@...aro.org>,
liubaozhu <liubaozhu@...ontech.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block/bfq: the delta_from_first should be ns rather than
us
On 7/21/21 1:54 AM, Paolo Valente wrote:
>
>
>> Il giorno 21 lug 2021, alle ore 08:30, liubaozhu <liubaozhu@...ontech.com <mailto:liubaozhu@...ontech.com>> ha scritto:
>>
>> In the block/bfq-iosched.c,the function bfq_update_peak_rate(),
>> bfqd->delta_from_first = now_ns - bfqd->first_dispatch,
>> according to the subtraction operation here,now_ns is ns,
>> and bfqd->first_dispatch is also ns,so bfqd->delta_from_first should be ns.
>>
>
> Correct!
>
> Acked-by: Paolo Valente <paolo.valente@...aro.org <mailto:paolo.valente@...aro.org>>
Just pick this up for your 5.15 series and include it in that.
--
Jens Axboe
Powered by blists - more mailing lists