From: Max Gurtovoy <mgurtovoy@nvidia.com>
To: Sagi Grimberg <sagi@grimberg.me>, Christoph Hellwig <hch@lst.de>,
Hannes Reinecke <hare@suse.de>
Cc: martin.petersen@oracle.com, linux-nvme@lists.infradead.org,
kbusch@kernel.org, axboe@kernel.dk, linux-block@vger.kernel.org,
oren@nvidia.com, oevron@nvidia.com, israelr@nvidia.com
Subject: Re: [PATCH v1 0/2] Fix failover to non integrity NVMe path
Date: Mon, 24 Apr 2023 12:17:32 +0300 [thread overview]
Message-ID: <729e6964-78b6-cdf2-b7e9-0ea5562a10e2@nvidia.com> (raw)
In-Reply-To: <9b3da2c2-b158-ff4a-e7e3-62e49f366ac2@grimberg.me>
On 24/04/2023 11:53, Sagi Grimberg wrote:
>
>>> Yeah, I'm slightly unhappy with this whole setup.
>>> If we were just doing DIF I guess the setup could work, but then we
>>> have to
>>> disable DIX (as we cannot support integrity data on the non-PI path).
>>> But we would need an additional patch to disable DIX functionality in
>>> those
>>> cases.
>>
>> NVMeoF only supports inline integrity data, the remapping from out of
>> line integrity data is always done by the HCA for NVMe over RDMA,
>> and integrity data is not supported without that.
>>
>> Because of that I can't see how we could sensibly support one path with
>> integrity offload and one without. And yes, it might make sense to
>> offer a way to explicitly disable integrity support to allow forming such
>> a multipath setup.
>
> I agree. I didn't read through the change log well enough, I thought
> that one path is DIF and the other is DIX.
>
> I agree that we should not permit such a configuration.
I'm not yet convinced why not to permit it.
The spec allows this to happen and I can think about scenarios that
users will want this kind of configuration.
We also support it today (with the exception on this bug).
There is a special PRACT bit in the spec that asks the controller to
take action upon each R/W IO request.
The Multipath is not related to md IMO. One path can generate/verify md
and other can raise PRACT bit.
You can also create 2 paths from different hosts to same target and one
will have ConnectX-5 and other ConnectX-3. The fact that these path are
from the same host is not so important IMO.
prev parent reply other threads:[~2023-04-24 9:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-23 14:13 [PATCH v1 0/2] Fix failover to non integrity NVMe path Max Gurtovoy
2023-04-23 14:13 ` [PATCH v1 1/2] block: bio-integrity: export bio_integrity_free func Max Gurtovoy
2023-04-23 16:34 ` kernel test robot
2023-04-23 16:34 ` kernel test robot
2023-04-23 14:13 ` [PATCH v1 2/2] nvme-multipath: fix path failover for integrity ns Max Gurtovoy
2023-04-23 14:22 ` Sagi Grimberg
2023-04-24 5:11 ` [PATCH v1 0/2] Fix failover to non integrity NVMe path Christoph Hellwig
2023-04-24 6:10 ` Hannes Reinecke
2023-04-24 6:20 ` Christoph Hellwig
2023-04-24 8:53 ` Sagi Grimberg
2023-04-24 9:17 ` Max Gurtovoy [this message]
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=729e6964-78b6-cdf2-b7e9-0ea5562a10e2@nvidia.com \
--to=mgurtovoy@nvidia.com \
--cc=axboe@kernel.dk \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=israelr@nvidia.com \
--cc=kbusch@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=martin.petersen@oracle.com \
--cc=oevron@nvidia.com \
--cc=oren@nvidia.com \
--cc=sagi@grimberg.me \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox