diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-09-11 09:03:04 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-09-11 09:03:04 -0600 |
commit | 7f39add3b08cbbdb99abe50e6d7c342e6800d684 (patch) | |
tree | dd495ebf5446f531d88aee04f00857cff243e586 /block/bio-integrity.c | |
parent | 5e7c4274a70aa2d6f485996d0ca1dad52d0039ca (diff) | |
download | linux-7f39add3b08cbbdb99abe50e6d7c342e6800d684.tar.bz2 |
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: Sagi 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: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions