diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-15 18:44:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 17:51:52 +0300 |
commit | 2ff0682da6e09c1e0db63a2d2abcd4efb531c8db (patch) | |
tree | 33c4b58cfd5f1e64981aa654043081e531d0e4fe /scripts/generate_rust_analyzer.py | |
parent | 90b8faa0e8de1b02b619fb33f6c6e1e13e7d1d70 (diff) | |
download | linux-2ff0682da6e09c1e0db63a2d2abcd4efb531c8db.tar.xz |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions