Skip to content
Commit 854fbb9c authored by Keith Busch's avatar Keith Busch Committed by Jens Axboe
Browse files

block: prevent request-to-request merging with gaps if not allowed



If the queue has SG_GAPS set, we must not merge across an sg gap.
This is caught for the bio case, but currently not for the
more rare case of merging two requests directly.

Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>

Cut the dm bits, those will go through the dm tree, and fixed
the test_bit() test.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 201f201c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment