[PATCHv2] nvme: Remove SCSI translations

Guan Junxiong guanjunxiong at huawei.com
Wed Jun 21 01:19:39 PDT 2017


On 2017/6/21 3:33, Keith Busch wrote:
> 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 at intel.com>
> Acked-by: Jens Axboe <axboe at kernel.dk>
> Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
> Reviewed-by: Sagi Grimberg <sagi at grimberg.me>
> Reviewed-by: Max Gurtovoy <maxg at mellanox.com>
> ---

Reviewed-by: Guan Junxiong <guanjunxiong at huawei.com>

.




More information about the Linux-nvme mailing list