Thread (1 message) 1 message, 1 author, 2021-07-21

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

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-07-21 16:19:26
Also in: lkml

On 7/21/21 1:54 AM, Paolo Valente wrote:
quoted
Il giorno 21 lug 2021, alle ore 08:30, liubaozhu <liubaozhu@uniontech.com <mailto:liubaozhu@uniontech.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@linaro.org <mailto:paolo.valente@linaro.org>>
Just pick this up for your 5.15 series and include it in that.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help