From: Steffen Maier <maier@linux.vnet.ibm.com> To: dm-devel@redhat.com, Mikulas Patocka <mpatocka@redhat.com>, Mike Snitzer <snitzer@redhat.com> Cc: linux-block@vger.kernel.org, "Martin K . Petersen" <martin.petersen@oracle.com>, Hannes Reinecke <hare@suse.com>, linux-s390@vger.kernel.org, Martin Schwidefsky <schwidefsky@de.ibm.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, Steffen Maier <maier@linux.vnet.ibm.com>, Fedor Loshakov <loshakov@linux.vnet.ibm.com> Subject: [PATCH] dm mpath: fix passing integrity data Date: Wed, 14 Mar 2018 15:33:06 +0100 [thread overview] Message-ID: <20180314143306.98405-1-maier@linux.vnet.ibm.com> (raw) 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. Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com> Bisected-by: Fedor Loshakov <loshakov@linux.vnet.ibm.com> Fixes: e2460f2a4bc7 ("dm: mark targets that pass integrity data") Cc: <stable@vger.kernel.org> #4.12+ --- drivers/md/dm-mpath.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 3fde9e9faddd..c174f0c53dc9 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -2023,7 +2023,8 @@ static int multipath_busy(struct dm_target *ti) static struct target_type multipath_target = { .name = "multipath", .version = {1, 12, 0}, - .features = DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE, + .features = DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE | + DM_TARGET_PASSES_INTEGRITY, .module = THIS_MODULE, .ctr = multipath_ctr, .dtr = multipath_dtr, -- 2.13.5
WARNING: multiple messages have this Message-ID (diff)
From: Steffen Maier <maier@linux.vnet.ibm.com> To: dm-devel@redhat.com, Mikulas Patocka <mpatocka@redhat.com>, Mike Snitzer <snitzer@redhat.com> Cc: linux-s390@vger.kernel.org, Hannes Reinecke <hare@suse.com>, "Martin K . Petersen" <martin.petersen@oracle.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, linux-block@vger.kernel.org, Steffen Maier <maier@linux.vnet.ibm.com>, Fedor Loshakov <loshakov@linux.vnet.ibm.com>, Martin Schwidefsky <schwidefsky@de.ibm.com> Subject: [PATCH] dm mpath: fix passing integrity data Date: Wed, 14 Mar 2018 15:33:06 +0100 [thread overview] Message-ID: <20180314143306.98405-1-maier@linux.vnet.ibm.com> (raw) 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. Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com> Bisected-by: Fedor Loshakov <loshakov@linux.vnet.ibm.com> Fixes: e2460f2a4bc7 ("dm: mark targets that pass integrity data") Cc: <stable@vger.kernel.org> #4.12+ --- drivers/md/dm-mpath.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 3fde9e9faddd..c174f0c53dc9 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -2023,7 +2023,8 @@ static int multipath_busy(struct dm_target *ti) static struct target_type multipath_target = { .name = "multipath", .version = {1, 12, 0}, - .features = DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE, + .features = DM_TARGET_SINGLETON | DM_TARGET_IMMUTABLE | + DM_TARGET_PASSES_INTEGRITY, .module = THIS_MODULE, .ctr = multipath_ctr, .dtr = multipath_dtr, -- 2.13.5
next reply other threads:[~2018-03-14 14:33 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-14 14:33 Steffen Maier [this message] 2018-03-14 14:33 ` [PATCH] dm mpath: fix passing integrity data Steffen Maier 2018-03-14 15:42 ` Hannes Reinecke 2018-03-14 15:42 ` Hannes Reinecke 2018-03-14 15:46 ` Martin K. Petersen 2018-03-14 15:46 ` Martin K. Petersen 2018-03-14 19:44 ` Mike Snitzer 2018-03-14 19:44 ` Mike Snitzer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180314143306.98405-1-maier@linux.vnet.ibm.com \ --to=maier@linux.vnet.ibm.com \ --cc=dm-devel@redhat.com \ --cc=hare@suse.com \ --cc=heiko.carstens@de.ibm.com \ --cc=linux-block@vger.kernel.org \ --cc=linux-s390@vger.kernel.org \ --cc=loshakov@linux.vnet.ibm.com \ --cc=martin.petersen@oracle.com \ --cc=mpatocka@redhat.com \ --cc=schwidefsky@de.ibm.com \ --cc=snitzer@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.