From: Keith Busch Date: Fri, 12 Sep 2014 22:07:20 +0000 (-0600) Subject: NVMe: Passthrough IOCTL for IO commands X-Git-Tag: omap-for-v3.20/drop-legacy-3517~91^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7963e521811ed19396d47793cc77d87c643ab891;p=pandora-kernel.git NVMe: Passthrough IOCTL for IO commands The NVME_IOCTL_SUBMIT_IO only works for IO commands with block data transfers and isn't usable for other NVMe commands like flush, data set management, or any sort of vendor unique command. The NVME_IOCTL_ADMIN_CMD, however, can easily be modified to accept arbitrary IO commands in addition to arbitrary admin commands without breaking backward compatibility. This patch just adds a new IOCTL to distinguish if the driver should submit the command on an IO or Admin queue. Signed-off-by: Keith Busch Signed-off-by: Matthew Wilcox Signed-off-by: Jens Axboe --- Reading git-diff-tree failed