diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-10-18 23:37:27 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 23:38:42 +0300 |
commit | 4f266f2be822eacd70aca2a7a53c4a111be79acb (patch) | |
tree | 9b5397b69c543d687cd5ec08848e2b5640fae8c6 /scripts/generate_rust_analyzer.py | |
parent | 2ff0682da6e09c1e0db63a2d2abcd4efb531c8db (diff) | |
download | linux-4f266f2be822eacd70aca2a7a53c4a111be79acb.tar.xz |
block: skip elevator fields init for non-elv queue
Don't init rq->hash and rq->rb_node in blk_mq_rq_ctx_init() if there is
no elevator. Also, move some other initialisers that imply barriers to
the end, so the compiler is free to rearrange and optimise other the
rest of them.
note: fold in a change from Jens leaving queue_list unconditional, as
it might lead to problems otherwise.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions