]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: make SG_IO support optional
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Dec 2015 14:27:02 +0000 (15:27 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:53 +0000 (13:40 -0700)
commit2c0a0b950eb7b9a9775d76d7eeee2f4ff032940d
tree554b9e0475a174439f9796c26e01e99d39873abe
parentcfb02283ef6da86d76fa3ace79386bf94189f50c
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>
(cherry picked from commit 4490733250b8b272a6d3e66352dd7b8025409549)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/Kconfig
drivers/nvme/host/Makefile
drivers/nvme/host/core.c