From: Uday Shankar <ushankar@purestorage.com>
To: linux-nvme@lists.infradead.org
Cc: Prabhath Sajeepa <psajeepa@purestorage.com>,
Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@fb.com>,
Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>
Subject: Native multipath across multiple subsystem NQNs
Date: Fri, 11 Feb 2022 15:07:14 -0700 [thread overview]
Message-ID: <20220211220714.GA370236@dev-ushankar.dev.purestorage.com> (raw)
Hello,
We have the need to expose the same namespace (considered the same due
to reporting the same unique identifier in "Identify Namespace") from
two distinct targets, having different subsystem NQNs. In this case, the
native multipath implementation in this driver behaves differently from
most other multipath implementations, including DM-multipath and the
implementations in other operating systems.
Native multipath: Does not consider the namespaces the same. Two block
devices are created, corresponding to the two subsystems in play.
Others: The namespaces are considered the same. One block device is
created, backed by paths to both subsystems.
The second behavior is desired in our use case. I want to implement this
behavior in the driver. I can think of two approaches, and want some
feedback on which one(s) would be acceptable.
1. A "direct" approach: add a parameter, which, when set, will result in
the second behavior - paths to namespaces are consolidated purely based
on namespace unique ID, without considering the subsystem.
2. The recently ratified TPE4034 Dispersed Namespaces feature provides a
means to get the second behavior, and a lot more. It requires both host
and target support.
I look forward to your feedback!
Thanks,
Uday
next reply other threads:[~2022-02-11 22:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-11 22:07 Uday Shankar [this message]
2022-02-12 6:34 ` Native multipath across multiple subsystem NQNs Christoph Hellwig
2022-02-12 21:22 ` Keith Busch
2022-02-14 8:12 ` Christoph Hellwig
2022-02-25 0:15 ` Uday Shankar
2022-02-25 0:53 ` Randy Jennings
2022-03-01 11:08 ` Christoph Hellwig
[not found] ` <2A0F911A-7900-401F-B75B-7D0C2866C33A@netapp.com>
2022-03-03 10:41 ` Christoph Hellwig
2022-03-03 11:04 ` Adurthi, Prashanth
2022-03-03 11:13 ` Christoph Hellwig
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=20220211220714.GA370236@dev-ushankar.dev.purestorage.com \
--to=ushankar@purestorage.com \
--cc=axboe@fb.com \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=psajeepa@purestorage.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 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.