Files
erofs-linux/drivers/md
Mike Snitzer b879f915bc dm: properly fix redundant bio-based IO accounting
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.

Reported-by: Bud Brown <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: [email protected]
Depends-on: e45c47d1f9 ("block: add bio_start_io_acct_time() to control start_time")
Signed-off-by: Mike Snitzer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
2022-01-28 12:28:15 -07:00
..
…
…
…
…
2021-12-04 08:58:51 -08:00
…
…
2021-12-04 08:58:51 -08:00
2022-01-06 08:37:03 -08:00
…
…
2022-01-06 08:37:02 -08:00
2022-01-06 08:37:02 -08:00
…