diff options
author | 2021-11-04 11:54:47 -0600 | |
---|---|---|
committer | 2021-11-04 23:21:01 -0600 | |
commit | 10c47870155b5d9a8597eff3345d244e2fe1847f (patch) | |
tree | dfb0da10e659f98d73fff720ae8d062733726f66 /drivers/fpga/fpga-mgr.c | |
parent | block: move queue enter logic into blk_mq_submit_bio() (diff) | |
download | linux-dev-10c47870155b5d9a8597eff3345d244e2fe1847f.tar.xz linux-dev-10c47870155b5d9a8597eff3345d244e2fe1847f.zip |
block: ensure cached plug request matches the current queue
If we're driving multiple devices, we could have pre-populated the cache
for a different device. Ensure that the empty request matches the current
queue.
Fixes: 47c122e35d7e ("block: pre-allocate requests if plug is started and is a batch")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions