All of lore.kernel.org
 help / color / mirror / Atom feed
* track subsystem relationships and shared namespaces
@ 2017-06-15 16:34 Christoph Hellwig
  2017-06-15 16:34 ` [PATCH 1/6] nvme: remove an misleading comment on strut nvme_ns Christoph Hellwig
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Christoph Hellwig @ 2017-06-15 16:34 UTC (permalink / raw)


Hi all,

this set adds the first bits of required infrastructure for proper
multipath support in the NVMe driver.  It tracks if multiple controllers
belong to the same subsystem, and if they do which namespaces on the
controller refer to the same data.  As part of that it validates a lot
of the restrictions in the NVMe spec related to these facts.

Btw, qemu is a perfect way to create controllers with the same NQN
that fail these checks, as it allows you to specify the same serial
number for multiple controllers, and never sets the required CMIC
bit for multi-controller subsystems.

^ permalink raw reply	[flat|nested] 25+ messages in thread
* track subsystem relationships and shared namespaces V2
@ 2017-06-19  9:57 Christoph Hellwig
  2017-06-19  9:57 ` [PATCH 5/6] nvme: track subsystems Christoph Hellwig
  0 siblings, 1 reply; 25+ messages in thread
From: Christoph Hellwig @ 2017-06-19  9:57 UTC (permalink / raw)


Hi all,

this set adds the first bits of required infrastructure for proper
multipath support in the NVMe driver.  It tracks if multiple controllers
belong to the same subsystem, and if they do which namespaces on the
controller refer to the same data.  As part of that it validates a lot
of the restrictions in the NVMe spec related to these facts.

Btw, qemu is a perfect way to create controllers with the same NQN
that fail these checks, as it allows you to specify the same serial
number for multiple controllers, and never sets the required CMIC
bit for multi-controller subsystems.

Changes since V1:
 - don't hardcode offsets in nvme_init_subnqn
 - rename __nvme_find_subsystem to __nvme_find_get_subsystem
 - rename nvme_ns_link_siblings and move the list_add out of it

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

end of thread, other threads:[~2017-06-19 16:52 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-15 16:34 track subsystem relationships and shared namespaces Christoph Hellwig
2017-06-15 16:34 ` [PATCH 1/6] nvme: remove an misleading comment on strut nvme_ns Christoph Hellwig
2017-06-15 16:51   ` Sagi Grimberg
2017-06-16  8:29   ` Johannes Thumshirn
2017-06-15 16:34 ` [PATCH 2/6] nvme: read the subsystem NQN from Identify Controller Christoph Hellwig
2017-06-15 16:54   ` Sagi Grimberg
2017-06-16  8:42   ` Johannes Thumshirn
2017-06-16  8:53     ` Christoph Hellwig
2017-06-18  8:03       ` Sagi Grimberg
2017-06-15 16:34 ` [PATCH 3/6] nvme: simplify nvme_dev_attrs_are_visible Christoph Hellwig
2017-06-15 16:55   ` Sagi Grimberg
2017-06-16  8:44   ` Johannes Thumshirn
2017-06-15 16:35 ` [PATCH 4/6] nvme-fabrics: verify that a controller returns the correct NQN Christoph Hellwig
2017-06-15 16:55   ` Sagi Grimberg
2017-06-16  8:47   ` Johannes Thumshirn
2017-06-15 16:35 ` [PATCH 5/6] nvme: track subsystems Christoph Hellwig
2017-06-15 17:04   ` Sagi Grimberg
2017-06-16  6:21     ` Christoph Hellwig
2017-06-15 16:35 ` [PATCH 6/6] nvme: track shared namespaces in a siblings list Christoph Hellwig
2017-06-15 16:49   ` Sagi Grimberg
2017-06-16  6:20     ` Christoph Hellwig
2017-06-18  8:17       ` Sagi Grimberg
  -- strict thread matches above, loose matches on Subject: below --
2017-06-19  9:57 track subsystem relationships and shared namespaces V2 Christoph Hellwig
2017-06-19  9:57 ` [PATCH 5/6] nvme: track subsystems Christoph Hellwig
2017-06-19 11:47   ` Johannes Thumshirn
2017-06-19 16:52   ` Keith Busch

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.