summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-06-01 08:59:25 +0200
committerChristoph Hellwig <hch@lst.de>2018-07-27 19:13:06 +0200
commit62ac0d32f74ea511d5813be728dc589d03f866a3 (patch)
tree9e707f80d3c84f64117349e24bcd37dc6a4a91c6 /Kbuild
parent72efd25dcf4f6310e9e6fa85620aa443b27c23fe (diff)
downloadlinux-62ac0d32f74ea511d5813be728dc589d03f866a3.tar.bz2
nvmet: support configuring ANA groups
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@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions