nvme: make SG_IO support optional
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Dec 2015 14:27:02 +0000 (15:27 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 20:30:16 +0000 (13:30 -0700)
commit4490733250b8b272a6d3e66352dd7b8025409549
tree6bd4bc5df240bc645aeb5adad549660853837dd6
parentbfd8947194b2e2a53db82bbc7eb7c15d028c46db
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>
drivers/nvme/host/Kconfig
drivers/nvme/host/Makefile
drivers/nvme/host/core.c