commit | 781dd830ec4f4d56b99d5d0c64bacda4c3ee3cfd | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Nov 02 08:34:09 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 03 09:26:26 2021 -0600 |
tree | e2afd88deddea0e679b59d424c730dd63e16296d | |
parent | a1c2f7e7f25c9d35d3bf046f99682c5373b20fa2 [diff] |
block: move RQF_ELV setting into allocators It's not safe to do this before blk_queue_enter(), as the scheduler state could have changed in between. Hence move the RQF_ELV setting into the allocators, where we know the queue is already entered. Suggested-by: Ming Lei <ming.lei@redhat.com> Reported-by: Yi Zhang <yi.zhang@redhat.com> Reported-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>