summary refs log tree commit diff
path: root/lib/sbitmap.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-10-13 09:57:13 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-18 06:17:35 -0600
commit8971a3b7f1bf2b3096e558a0362a469dee77f426 (patch)
treed208ac362578e56a8848ebcab6eaaab5c567b74f /lib/sbitmap.c
parent4f7ab09a1ca0bc955635705c359ab3021b405fd0 (diff)
downloadlinux-8971a3b7f1bf2b3096e558a0362a469dee77f426.tar.gz
blk-mq: optimise *end_request non-stat path
We already have a blk_mq_need_time_stamp() check in
__blk_mq_end_request() to get a timestamp, hide all the statistics
accounting under it. It cuts some cycles for requests that don't need
stats, and is free otherwise.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/e0f2ea812e93a8adcd07101212e7d7e70ca304e7.1634115360.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions