[dm-devel] [PATCH v3 3/3] dm: properly fix redundant bio-based IO accounting

Christoph Hellwig hch at lst.de
Fri Jan 28 06:14:56 UTC 2022


On Thu, Jan 27, 2022 at 11:17:53PM -0500, Mike Snitzer wrote:
> Record the start_time for a bio but defer the starting block core's IO
> accounting until after IO is submitted using bio_start_io_acct_time().
> 
> This approach avoids the need to mess around with any of the
> individual IO stats in response to a bio_split() that follows bio
> submission.

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the dm-devel mailing list