summaryrefslogtreecommitdiff
path: root/include/linux/sbitmap.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-28 20:50:07 +0300
committerJens Axboe <axboe@kernel.dk>2018-12-04 00:59:16 +0300
commitfe1f452640d888c4311ef35c8ee497f47c3ea17c (patch)
tree9ec97a247b0e748995fafa1ed4725b16f4408613 /include/linux/sbitmap.h
parent2149da0748fc236b9916c53e26b3b0c9ab20a5dd (diff)
downloadlinux-fe1f452640d888c4311ef35c8ee497f47c3ea17c.tar.xz
blk-mq: don't call ktime_get_ns() if we don't need it
We only need the request fields and the end_io time if we have stats enabled, or if we have a scheduler attached as those may use it for completion time stats. Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/sbitmap.h')
0 files changed, 0 insertions, 0 deletions