]> git.baikalelectronics.ru Git - kernel.git/commit
block: Refuse adding appending a gapped integrity page to a bio
authorSagi Grimberg <sagig@mellanox.com>
Tue, 8 Sep 2015 15:33:35 +0000 (09:33 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 11 Sep 2015 15:03:45 +0000 (09:03 -0600)
commitfc254297b9350b835c6a002068e5351f72e0b87c
treeae4d2c8c2606303f9ff4407a748fb48a111b7520
parente658d11ecdd62e5cb53e7cb585131317e26e4ef6
block: Refuse adding appending a gapped integrity page to a bio

This is only theoretical at the moment given that the only
subsystems that generate integrity payloads are the block layer
itself and the scsi target (which generate well aligned integrity
payloads). But when we will expose integrity meta-data to user-space,
we'll need to refuse appending a page with a gap (if the queue
virtual boundary is set).

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio-integrity.c