aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-10-15 09:44:38 -0600
committerJens Axboe <axboe@kernel.dk>2021-10-18 08:51:52 -0600
commit2ff0682da6e09c1e0db63a2d2abcd4efb531c8db (patch)
tree33c4b58cfd5f1e64981aa654043081e531d0e4fe /tools/perf/scripts/python
parentblock: only mark bio as tracked if it really is tracked (diff)
downloadwireguard-linux-2ff0682da6e09c1e0db63a2d2abcd4efb531c8db.tar.xz
wireguard-linux-2ff0682da6e09c1e0db63a2d2abcd4efb531c8db.zip
block: store elevator state in request
Add an rq private RQF_ELV flag, which tells the block layer that this request was initialized on a queue that has an IO scheduler attached. This allows for faster checking in the fast path, rather than having to deference rq->q later on. Elevator switching does full quiesce of the queue before detaching an IO scheduler, so it's safe to cache this in the request itself. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions