]> Git Repo - linux.git/commit
block: ensure cached plug request matches the current queue
authorJens Axboe <[email protected]>
Thu, 4 Nov 2021 17:54:47 +0000 (11:54 -0600)
committerJens Axboe <[email protected]>
Fri, 5 Nov 2021 05:21:01 +0000 (23:21 -0600)
commit10c47870155b5d9a8597eff3345d244e2fe1847f
treedfb0da10e659f98d73fff720ae8d062733726f66
parent900e080752025f0016128f07c9ed4c50eba3654b
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-mq.c
This page took 0.062876 seconds and 4 git commands to generate.