On Fri, Jan 28 2022 at 1:13P -0500,
Christoph Hellwig wrote:
> On Thu, Jan 27, 2022 at 11:17:51PM -0500, Mike Snitzer wrote:
> > + __part_start_io_acct(bio->bi_bdev, bio_sectors(bio),
> > +bio_op(bio), start_time);
> > }
> > +EXPORT_SYMBOL_GPL(bio_start_io_acct_time);
On Thu, Jan 27, 2022 at 11:17:51PM -0500, Mike Snitzer wrote:
> + __part_start_io_acct(bio->bi_bdev, bio_sectors(bio),
> + bio_op(bio), start_time);
> }
> +EXPORT_SYMBOL_GPL(bio_start_io_acct_time);
>
> /**
> * bio_start_io_acct - start I/O accounting for bio
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).
Signed-off-by: Mike Snitzer
---
block/blk-core.c |