From: Nicholas Bellinger Date: Mon, 23 Dec 2013 20:31:24 +0000 (+0000) Subject: target/iblock: Add blk_integrity + BIP passthrough support X-Git-Tag: v3.14-rc1~17^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecebbf6ccbca58b4470f092cfb0644df59ea05dd;p=pandora-kernel.git target/iblock: Add blk_integrity + BIP passthrough support This patch adds blk_integrity passthrough support for block_device backends using IBLOCK. This includes iblock_alloc_bip() + setup of bio_integrity_payload information that attaches to the leading struct bio once bio_list is populated during fast-path iblock_execute_rw() I/O dispatch. It also updates setup in iblock_configure_device() to detect modes of protection + se dev->dev_attrib.pi_prot_type accordingly, along with creating required bio_set integrity mempools. Cc: Martin K. Petersen Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Sagi Grimberg Cc: Or Gerlitz Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed