Skip to content
Commit a5040c2d authored by Souvik Banerjee's avatar Souvik Banerjee Committed by Jens Axboe
Browse files

blktrace: fix comment in blktrace_api.h



The `__u64 time` field of the blk_io_trace struct refers to
the time in nanoseconds, not in microseconds. It is set in
__blk_add_trace, which does the following:

    t->time = ktime_to_ns(ktime_get());

ktime_to_ns returns ktime_t in nanoseconds, not microseconds.

Signed-off-by: default avatarSouvik Banerjee <souvik1997@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b65125fa
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