linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Support discovery log change events
@ 2019-07-12 18:02 Sagi Grimberg
  2019-07-12 18:02 ` [PATCH v2 1/3] nvme-fabrics: allow discovery subsystems accept a kato Sagi Grimberg
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Sagi Grimberg @ 2019-07-12 18:02 UTC (permalink / raw)


We want to be able to support discovery log change events automatically
without user intervention.

The definition of discovery log change events applies on "persistent" long
lived controllers, so first we need to have discovery controllers to stay
for a long time and accept kato value.

Then when we do happen to get a discovery log change event on the persistent
discovery controller, we simply fire a udev event to user-space to re-query
the discovery log page and connect to new subsystems in the fabric.

This works with James' latest nvme-cli patches.

Changes from v1:
- rebase to nvme-5.3
- pass none if trsvcid is uninitialized
- pass NVME_CTRL_NAME instead of NVME_CTRL_INSTANCE

Sagi Grimberg (3):
  nvme-fabrics: allow discovery subsystems accept a kato
  nvme: enable aen also for discovery controllers
  nvme: fire discovery log page change events to userspace

 drivers/nvme/host/core.c    | 39 ++++++++++++++++++++++++++++++++++---
 drivers/nvme/host/fabrics.c | 12 ++----------
 2 files changed, 38 insertions(+), 13 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2019-09-09 15:11 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-12 18:02 [PATCH v2 0/3] Support discovery log change events Sagi Grimberg
2019-07-12 18:02 ` [PATCH v2 1/3] nvme-fabrics: allow discovery subsystems accept a kato Sagi Grimberg
2019-07-14  8:08   ` Minwoo Im
2019-07-14 15:00   ` James Smart
2019-07-19 13:48   ` Hannes Reinecke
2019-07-12 18:02 ` [PATCH v2 2/3] nvme: enable aen also for discovery controllers Sagi Grimberg
2019-07-14  8:09   ` Minwoo Im
2019-07-14 15:04   ` James Smart
2019-07-19 13:49   ` Hannes Reinecke
2019-07-12 18:02 ` [PATCH v2 3/3] nvme: fire discovery log page change events to userspace Sagi Grimberg
2019-07-14  8:14   ` Minwoo Im
2019-07-14 15:13   ` James Smart
2019-07-19 13:49   ` Hannes Reinecke
     [not found]   ` <20190822002328.GP9511@lst.de>
     [not found]     ` <205d06ab-fedc-739d-323f-b358aff2cbfe@grimberg.me>
     [not found]       ` <e4603511-6dae-e26d-12a9-e9fa727a8d03@grimberg.me>
     [not found]         ` <20190826065639.GA11036@lst.de>
     [not found]           ` <20190826075916.GA30396@kroah.com>
     [not found]             ` <ac168168-fed2-2b57-493e-e88261ead73b@grimberg.me>
     [not found]               ` <20190830055514.GC8492@lst.de>
2019-08-30 18:08                 ` Sagi Grimberg
2019-08-30 18:36                   ` James Smart
2019-08-30 21:07                     ` Sagi Grimberg
2019-08-30 22:24                       ` James Smart
2019-09-09 15:10                         ` Hannes Reinecke
     [not found]               ` <20190830062036.GA15257@kroah.com>
2019-08-30 18:14                 ` Sagi Grimberg
2019-09-02 19:33                   ` Greg Kroah-Hartman
2019-09-04  1:35                     ` Sagi Grimberg
2019-09-04  5:25                       ` Greg Kroah-Hartman
2019-08-01  1:32 ` [PATCH v2 0/3] Support discovery log change events Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).