[PATCH] NVMe: Meta-data support in NVME_IOCTL_SUBMIT_IO

Keith Busch keith.busch at intel.com
Tue Apr 30 11:20:33 EDT 2013


On Tue, 23 Apr 2013, Keith Busch wrote:

> 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 at intel.com>

> +	ns->ms = id->lbaf[lbaf].ms;

Reviewing my own patch! This should be:

+	ns->ms = le16_to_cpu(id->lbaf[lbaf].ms);



More information about the Linux-nvme mailing list