Skip to content
Commit beefa6ba authored by Jens Axboe's avatar Jens Axboe
Browse files

block: only honor SG gap prevention for merges that contain data



We can safely merge anything that wont generate an SG list entry,
so if the bio is data-less (discard), don't look at potential
SG gaps.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent f6454b04
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