summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/Kconfig
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2020-07-24 11:25:19 -0600
committerChristoph Hellwig <hch@lst.de>2020-07-29 07:45:21 +0200
commitcae5b01a2afc2058bee94b4b8f873d3a4a9ec41e (patch)
tree78f740284dd55f02b1997b986930f46bc6bbc077 /drivers/nvme/target/Kconfig
parentba76af676cd0514614b5a99b8adad9d3956f5d7d (diff)
nvmet: introduce the passthru configfs interface
When CONFIG_NVME_TARGET_PASSTHRU as 'passthru' directory will be added to each subsystem. The directory is similar to a namespace and has two attributes: device_path and enable. The user must set the path to the nvme controller's char device and write '1' to enable the subsystem to use passthru. Any given subsystem is prevented from enabling both a regular namespace and the passthru device. If one is enabled, enabling the other will produce an error. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/Kconfig')
0 files changed, 0 insertions, 0 deletions