Skip to content
Commit 7f39add3 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Jens Axboe
Browse files

block: Refuse request/bio merges with gaps in the integrity payload



If a driver sets the block queue virtual boundary mask, it means that
it cannot handle gaps so we must not allow those in the integrity
payload as well.

Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>

Fixed up by me to have duplicate integrity merge functions, depending
on whether block integrity is enabled or not. Fixes a compilations
issue with CONFIG_BLK_DEV_INTEGRITY unset.

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