]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/bio-integrity.c
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)
commit87a816df537e096d404add543ef47b796906c130
treeae4d2c8c2606303f9ff4407a748fb48a111b7520
parent7f39add3b08cbbdb99abe50e6d7c342e6800d684
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