diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-10-06 16:52:33 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-10-22 08:15:17 -0600 |
commit | 746fc7e9d459ae3731104d719e22b13829f71e55 (patch) | |
tree | 4f60a7792fa97a6b5ad0cb7c0f78d1f3c947fadd /block/partitions/atari.c | |
parent | 148e6968f6789e42a318ce7d11ea506d75567c1d (diff) |
block: move issue side time stamping to blk_account_io_start()
It's known needed at that point, and it's cleaner to just assign it
there rather than rely on it being reliably set before hitting the
IO accounting. Hence, move it out of blk_mq_rq_time_init(), which is
now only doing the allocation side timing.
While at it, get rid of the '0' time passing to blk_mq_rq_time_init(),
just pass in blk_time_get_ns() for the two cases where 0 is being
explicitly passed in. The rest pass in the previously cached allocation
time.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions/atari.c')
0 files changed, 0 insertions, 0 deletions