aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-10-15 20:06:18 -0600
committerJens Axboe <axboe@kernel.dk>2021-10-18 08:50:47 -0600
commit90b8faa0e8de1b02b619fb33f6c6e1e13e7d1d70 (patch)
tree2cb9222d749ed8f3d8f2aaedd7ca28aba9476c3c /tools/perf/scripts/python
parentblock: improve layout of struct request (diff)
downloadwireguard-linux-90b8faa0e8de1b02b619fb33f6c6e1e13e7d1d70.tar.xz
wireguard-linux-90b8faa0e8de1b02b619fb33f6c6e1e13e7d1d70.zip
block: only mark bio as tracked if it really is tracked
We set BIO_TRACKED unconditionally when rq_qos_throttle() is called, even though we may not even have an rq_qos handler. Only mark it as TRACKED if it really is potentially tracked. This saves considerable time for the case where the bio isn't tracked: 2.64% -1.65% [kernel.vmlinux] [k] bio_endio Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions