[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 7 Jul 2021 06:44:03 -0600
From: Jens Axboe <axboe@...nel.dk>
To: brookxu <brookxu.cn@...il.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] block: fix the problem of io_ticks becoming smaller
On 7/5/21 3:47 PM, brookxu wrote:
> From: Chunguang Xu <brookxu@...cent.com>
>
> On the IO submission path, blk_account_io_start() may interrupt
> the system interruption. When the interruption returns, the value
> of part->stamp may have been updated by other cores, so the time
> value collected before the interruption may be less than part->
> stamp. So when this happens, we should do nothing to make io_ticks
> more accurate? For kernels less than 5.0, this may cause io_ticks
> to become smaller, which in turn may cause abnormal ioutil values.
>
> v3: update the commit log
> v2: sorry, fix compile error due to the missed ')'
The version log goes below the '---' in the email, not in the commit
message. I fixed that up. Applied for 5.14, thanks.
--
Jens Axboe
Powered by blists - more mailing lists