All of lore.kernel.org
 help / color / mirror / Atom feed
* Native multipath across multiple subsystem NQNs
@ 2022-02-11 22:07 Uday Shankar
  2022-02-12  6:34 ` Christoph Hellwig
  0 siblings, 1 reply; 10+ messages in thread
From: Uday Shankar @ 2022-02-11 22:07 UTC (permalink / raw)
  To: linux-nvme
  Cc: Prabhath Sajeepa, Keith Busch, Jens Axboe, Christoph Hellwig,
	Sagi Grimberg

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-03 11:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-11 22:07 Native multipath across multiple subsystem NQNs Uday Shankar
2022-02-12  6:34 ` 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

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.