Re: [PATCH] bcache: use disk_{start,end}_io_acct() to count I/O for bcache device

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

 



On 2020/7/28 21:59, colyli@xxxxxxx wrote:
> From: Coly Li <colyli@xxxxxxx>
> 
> This patch is a fix to patch "bcache: fix bio_{start,end}_io_acct with
> proper device". The previous patch uses a hack to temporarily set
> bi_disk to bcache device, which is mistaken too.
> 
> As Christoph suggests, this patch uses disk_{start,end}_io_acct() to
> count I/O for bcache device in the correct way.
> 
> Fixes: 85750aeb748f ("bcache: use bio_{start,end}_io_acct")
> Signed-off-by: Coly Li <colyli@xxxxxxx>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx


Hi Jens and Christoph,

This patch is tested, the I/O counter behavior is displayed by iostat in
expected way.

Please consider to take it for Linux v5.9.

Thanks in advance.

Coly Li



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux