dm mpath: fix passing integrity data
authorSteffen Maier <maier@linux.vnet.ibm.com>
Wed, 14 Mar 2018 14:33:06 +0000 (15:33 +0100)
committerMike Snitzer <snitzer@redhat.com>
Wed, 14 Mar 2018 19:39:33 +0000 (15:39 -0400)
commit8c5c147339d2e201108169327b1f99aa6d57d2cd
treeec455eb57ba53ccc486af9a28af37003cc12f78f
parente8f74a0f00113d74ac18d6de13096f9e2f95618a
dm mpath: fix passing integrity data

After v4.12 commit e2460f2a4bc7 ("dm: mark targets that pass integrity
data"), dm-multipath, e.g. on DIF+DIX SCSI disk paths, does not support
block integrity any more. So add it to the whitelist.

This is also a pre-requisite to use block integrity with other dm layer(s)
on top of multipath, such as kpartx partitions (dm-linear) or LVM.

Also, bump target version to reflect this fix.

Fixes: e2460f2a4bc7 ("dm: mark targets that pass integrity data")
Cc: <stable@vger.kernel.org> #4.12+
Bisected-by: Fedor Loshakov <loshakov@linux.vnet.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c