NVMe: Meta-data support in NVME_IOCTL_SUBMIT_IO
authorKeith Busch <keith.busch@intel.com>
Tue, 23 Apr 2013 23:23:59 +0000 (17:23 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 2 May 2013 19:35:09 +0000 (15:35 -0400)
commitf410c680b5344f1cb63ff011c6ae3d4963f45c30
tree8230de893dbc0aff5a0a894e802af7913f620076
parent159b67d7aefe3902df91075be5d80943c1570aa8
NVMe: Meta-data support in NVME_IOCTL_SUBMIT_IO

This adds support for namespaces with separate meta-data formats in the
submit io ioctl. The meta-data buffer has to be a contiguous, so such
a buffer is allocated and the mapped user pages are copied to/from this
buffer for write/read commands.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme-core.c
include/linux/nvme.h