Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 47c122e ("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]>
- Loading branch information