nvmet: add a generic NVMe target
authorChristoph Hellwig <hch@lst.de>
Tue, 21 Jun 2016 16:04:20 +0000 (18:04 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 5 Jul 2016 17:30:33 +0000 (11:30 -0600)
commita07b4970f464f13640e28e16dad6cfa33647cc99
treea7b810e87e8eb8cb650288ea3a169ef5b443849e
parent9645c1a2336bb92751a04454e7565c09c9a06f3c
nvmet: add a generic NVMe target

This patch introduces a implementation of NVMe subsystems,
controllers and discovery service which allows to export
NVMe namespaces across fabrics such as Ethernet, FC etc.

The implementation conforms to the NVMe 1.2.1 specification
and interoperates with NVMe over fabrics host implementations.

Configuration works using configfs, and is best performed using
the nvmetcli tool from http://git.infradead.org/users/hch/nvmetcli.git,
which also has a detailed explanation of the required steps in the
README file.

Signed-off-by: Armen Baloyan <armenx.baloyan@intel.com>
Signed-off-by: Anthony Knapp <anthony.j.knapp@intel.com>
Signed-off-by: Jay Freyensee <james.p.freyensee@intel.com>
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
12 files changed:
MAINTAINERS
drivers/nvme/Kconfig
drivers/nvme/Makefile
drivers/nvme/target/Kconfig [new file with mode: 0644]
drivers/nvme/target/Makefile [new file with mode: 0644]
drivers/nvme/target/admin-cmd.c [new file with mode: 0644]
drivers/nvme/target/configfs.c [new file with mode: 0644]
drivers/nvme/target/core.c [new file with mode: 0644]
drivers/nvme/target/discovery.c [new file with mode: 0644]
drivers/nvme/target/fabrics-cmd.c [new file with mode: 0644]
drivers/nvme/target/io-cmd.c [new file with mode: 0644]
drivers/nvme/target/nvmet.h [new file with mode: 0644]