diff options
author | Mike Snitzer <snitzer@redhat.com> | 2022-01-28 18:58:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-01-28 22:28:15 +0300 |
commit | e45c47d1f94e0cc7b6b079fdb4bcce2995e2adc4 (patch) | |
tree | 400e9f98f15e02b8dd587ace3c13a6e0ae37f3a2 /block/bounce.c | |
parent | 10825410b956dc1ed8c5fbc8bbedaffdadde7f20 (diff) | |
download | linux-e45c47d1f94e0cc7b6b079fdb4bcce2995e2adc4.tar.xz |
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: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220128155841.39644-2-snitzer@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions