io_u: do nsec -> usec converison in one spot in account_io_completion()
authorJens Axboe <axboe@kernel.dk>
Thu, 30 Nov 2017 04:25:32 +0000 (21:25 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Nov 2017 04:25:32 +0000 (21:25 -0700)
commite58beec1add60406cb70e5d0668514c1b3800cf6
tree6c7cb87562f099b1f8e514fbd0de3acb2a05c33a
parentd5d3795cd141ff5be0e857b5e09131ba0cb0ae0f
io_u: do nsec -> usec converison in one spot in account_io_completion()

Should not matter for runtime, but it's cleaner.

What we should really do is convert the internal values to nsec, so
we don't have to do this conversion.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c