diff options
author | Christoph Hellwig <hch@lst.de> | 2015-12-24 15:27:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-01-12 21:30:16 +0100 |
commit | 4490733250b8b272a6d3e66352dd7b8025409549 (patch) | |
tree | 6bd4bc5df240bc645aeb5adad549660853837dd6 /drivers/nvme/host/Kconfig | |
parent | nvme: fixes for NVME_IOCTL_IO_CMD on the char device (diff) | |
download | linux-4490733250b8b272a6d3e66352dd7b8025409549.tar.xz linux-4490733250b8b272a6d3e66352dd7b8025409549.zip |
nvme: make SG_IO support optional
Translation SCSI commands to NVMe commands is rather pointless in general
as applications must not expext to be able to use SCSI commands on a
generic block device.
Make the huge translation layer optional and hope no one will ever enable
it in the future.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/Kconfig')
-rw-r--r-- | drivers/nvme/host/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig index 002a94abdbc4..5d6237391dcd 100644 --- a/drivers/nvme/host/Kconfig +++ b/drivers/nvme/host/Kconfig @@ -8,3 +8,14 @@ config BLK_DEV_NVME To compile this driver as a module, choose M here: the module will be called nvme. + +config BLK_DEV_NVME_SCSI + bool "SCSI emulation for NVMe device nodes" + depends on BLK_DEV_NVME + ---help--- + This adds support for the SG_IO ioctl on the NVMe character + and block devices nodes, as well a a translation for a small + number of selected SCSI commands to NVMe commands to the NVMe + driver. If you don't know what this means you probably want + to say N here, and if you know what it means you probably + want to say N as well. |