Skip to content
Commit e45c47d1 authored by Mike Snitzer's avatar Mike Snitzer Committed by Jens Axboe
Browse files

block: add bio_start_io_acct_time() to control start_time



bio_start_io_acct_time() interface is like bio_start_io_acct() that
allows start_time to be passed in. This gives drivers the ability to
defer starting accounting until after IO is issued (but possibily not
entirely due to bio splitting).

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220128155841.39644-2-snitzer@redhat.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 10825410
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment