linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hare@suse.de (Hannes Reinecke)
Subject: [PATCH nvme-cli 0/3] Print out controller and ANA state for list-subsys
Date: Fri, 16 Nov 2018 08:34:58 +0100	[thread overview]
Message-ID: <20181116073501.7867-1-hare@suse.de> (raw)

Hi all,

this patchset implements the ability to check the path / controller state
on each namespace. It does so by enhancing the 'list-subsys' command to
optionally accept a device name for the namespace to check; with that we
are able to print out the controller and the ANA state per controller leading
up to that namespace.

As usual, comments and reviews are welcome.

Hannes Reinecke (3):
  nvme: introduce get_nvme_ctrl_attr()
  nvme: print out controller state for 'list-subsys'
  nvme-list-subsys: Add device name argument and print out ANA state

 Documentation/nvme-list-subsys.txt |   4 +-
 fabrics.c                          |   2 +-
 nvme-print.c                       |  13 ++-
 nvme.c                             | 226 ++++++++++++++++++++++++++-----------
 nvme.h                             |   4 +-
 5 files changed, 175 insertions(+), 74 deletions(-)

-- 
2.13.7

             reply	other threads:[~2018-11-16  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-16  7:34 Hannes Reinecke [this message]
2018-11-16  7:34 ` [PATCH nvme-cli 1/3] nvme: introduce get_nvme_ctrl_attr() Hannes Reinecke
2018-11-16 16:59   ` Keith Busch
2018-11-16  7:35 ` [PATCH nvme-cli 2/3] nvme: print out controller state for 'list-subsys' Hannes Reinecke
2018-11-16  7:35 ` [PATCH nvme-cli 3/3] nvme-list-subsys: Add device name argument and print out ANA state Hannes Reinecke

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=20181116073501.7867-1-hare@suse.de \
    --to=hare@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).