Re: [PATCH] block/bfq: the delta_from_first should be ns rather than us

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/21/21 1:54 AM, Paolo Valente wrote:
> 
> 
>> Il giorno 21 lug 2021, alle ore 08:30, liubaozhu <liubaozhu@xxxxxxxxxxxxx <mailto:liubaozhu@xxxxxxxxxxxxx>> 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@xxxxxxxxxx <mailto:paolo.valente@xxxxxxxxxx>>

Just pick this up for your 5.15 series and include it in that.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux