diff options
author | 2021-11-03 05:47:09 -0600 | |
---|---|---|
committer | 2021-11-04 23:20:10 -0600 | |
commit | 900e080752025f0016128f07c9ed4c50eba3654b (patch) | |
tree | 0429d43fed6fcb41ab394987d423bc08a042e730 /drivers/fpga/fpga-mgr.c | |
parent | block: make bio_queue_enter() fast-path available inline (diff) | |
download | linux-dev-900e080752025f0016128f07c9ed4c50eba3654b.tar.xz linux-dev-900e080752025f0016128f07c9ed4c50eba3654b.zip |
block: move queue enter logic into blk_mq_submit_bio()
Retain the old logic for the fops based submit, but for our internal
blk_mq_submit_bio(), move the queue entering logic into the core
function itself.
We need to be a bit careful if going into the scheduler, as a scheduler
or queue mappings can arbitrarily change before we have entered the queue.
Have the bio scheduler mapping do that separately, it's a very cheap
operation compared to actually doing merging locking and lookups.
Reviewed-by: Christoph Hellwig <hch@lst.de>
[axboe: update to check merge post submit_bio_checks() doing remap...]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions