diff options
| author | Pavel Begunkov <[email protected]> | 2021-10-13 09:57:13 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-18 06:17:35 -0600 |
| commit | 8971a3b7f1bf2b3096e558a0362a469dee77f426 (patch) | |
| tree | d208ac362578e56a8848ebcab6eaaab5c567b74f /tools/perf/scripts/python | |
| parent | 4f7ab09a1ca0bc955635705c359ab3021b405fd0 (diff) | |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/e0f2ea812e93a8adcd07101212e7d7e70ca304e7.1634115360.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions