From: hare@suse.de (Hannes Reinecke)
Subject: [PATCH 10/10] nvmet: support configuring ANA groups
Date: Tue, 12 Jun 2018 08:08:32 +0200 [thread overview]
Message-ID: <20180612080832.37d604df@pentland.suse.de> (raw)
In-Reply-To: <20180611141139.30462-11-hch@lst.de>
On Mon, 11 Jun 2018 16:11:39 +0200
Christoph Hellwig <hch@lst.de> wrote:
> Allow creating non-default ANA groups (group ID > 1). Groups are
> created either by assigning the group ID to a namespace, or by
> creating a configfs group object under a specific port. All
> namespaces assigned to a group that doesn't have a configfs object
> for a given port are marked as inaccessible.
>
> Allow changing the ANA state on a per-port basis by creating an
> ana_groups directory under each port, and another directory with an
> ana_state file in it. The default ANA group 1 directory is created
> automatically for each port.
>
> For all changes in ANA configuration the ANA change AEN is sent. We
> only keep a global changecount instead of additional per-group
> changecounts to keep the implementation as simple as possible.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> drivers/nvme/target/admin-cmd.c | 1 +
> drivers/nvme/target/configfs.c | 182
> +++++++++++++++++++++++++++++++- drivers/nvme/target/core.c |
> 27 +++++ drivers/nvme/target/nvmet.h | 30 +++++-
> 4 files changed, 236 insertions(+), 4 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.com>
Cheers,
Hannes
prev parent reply other threads:[~2018-06-12 6:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-11 14:11 draft ANA support v4 Christoph Hellwig
2018-06-11 14:11 ` [PATCH 01/10] nvme: don't rely on the changed namespace list log Christoph Hellwig
2018-06-12 6:02 ` Hannes Reinecke
2018-06-11 14:11 ` [PATCH 02/10] nvme.h: add support for the log specific field Christoph Hellwig
2018-06-11 14:11 ` [PATCH 03/10] nvme.h: add ANA definitions Christoph Hellwig
2018-06-11 14:11 ` [PATCH 04/10] nvme: simplify the API for getting log pages Christoph Hellwig
2018-06-11 14:11 ` [PATCH 05/10] nvme: remove nvme_req_needs_failover Christoph Hellwig
2018-06-11 14:11 ` [PATCH 06/10] nvme: add ANA support Christoph Hellwig
2018-06-12 8:45 ` Hannes Reinecke
2018-06-13 7:38 ` Christoph Hellwig
2018-06-11 14:11 ` [PATCH 07/10] nvmet: keep a port pointer in nvmet_ctrl Christoph Hellwig
2018-06-12 6:02 ` Hannes Reinecke
2018-06-11 14:11 ` [PATCH 08/10] nvmet: track and limit the number of namespaces per subsystem Christoph Hellwig
2018-06-11 14:11 ` [PATCH 09/10] nvmet: add minimal ANA support Christoph Hellwig
2018-06-11 14:11 ` [PATCH 10/10] nvmet: support configuring ANA groups Christoph Hellwig
2018-06-12 6:08 ` Hannes Reinecke [this message]
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=20180612080832.37d604df@pentland.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 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.