summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/Kconfig
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2017-06-20 15:09:56 -0400
committerJens Axboe <axboe@kernel.dk>2017-06-28 08:14:13 -0600
commit3f7f25a910ed8988b2a87c1ca2bfee6b4fb83ac7 (patch)
tree2c5992dcff13e0c4132003a874959d781f2562cf /drivers/nvme/host/Kconfig
parent442e19b7ccb25337be7bfff96df94c38c037ee9f (diff)
downloadlinux-3f7f25a910ed8988b2a87c1ca2bfee6b4fb83ac7.tar.gz
linux-3f7f25a910ed8988b2a87c1ca2bfee6b4fb83ac7.tar.bz2
linux-3f7f25a910ed8988b2a87c1ca2bfee6b4fb83ac7.zip
nvme: Remove SCSI translations
The SCSI-to-NVMe translations were added to assist storage applications utilizing SG_IO transitioning to NVMe. It was always recommended, however, to use native NVMe for device management as too much is lost in translation and the maintenance burden in keeping this kludgey layer around has been neglected such that much of the translations are completely broken. This patch removes SG_IO handling from NVMe to avoid any confusion regarding maintenance support for this interface. The config option for NVMe SCSI emulation has been disabled by default since 4.5. The driver has supported native nvme user commands since the beginning, and native tooling is publicly available for use or as reference for anyone writing their own tools, so there's no excuse for hanging onto a broken crutch. Signed-off-by: Keith Busch <keith.busch@intel.com> Acked-by: Jens Axboe <axboe@kernel.dk> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Guan Junxiong <guanjunxiong@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/host/Kconfig')
-rw-r--r--drivers/nvme/host/Kconfig12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig
index 90745a616df7..46d6cb1e03bd 100644
--- a/drivers/nvme/host/Kconfig
+++ b/drivers/nvme/host/Kconfig
@@ -13,18 +13,6 @@ 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 NVME_CORE
- ---help---
- This adds support for the SG_IO ioctl on the NVMe character
- and block devices nodes, as well as 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, unless you run a distro that abuses the SCSI
- emulation to provide stable device names for mount by id, like
- some OpenSuSE and SLES versions.
-
config NVME_FABRICS
tristate