[PATCH 3/3] block: Refuse adding appending a gapped integrity page to a bio

Christoph Hellwig hch at infradead.org
Thu Jul 16 02:26:46 PDT 2015


On Wed, Jul 15, 2015 at 09:28:23AM -0600, Jens Axboe wrote:
> This chunk of code largely ends up being duplicated in several places with
> your patches, might be a good idea to pull that into a helper function. Then
> you can add the comment in one place as well :-)

Basically all the bio_vec-related code in block-integrity is copy &
paste of the I/O path.  In the long run we'll need to refactor it by
adding bio_vec iteration helpers that can pick different anchors from
the bio.  But for now I think I'd rather have this quick fix.



More information about the Linux-nvme mailing list