summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2013-04-23 17:23:59 -0600
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2013-05-02 15:35:09 -0400
commitf410c680b5344f1cb63ff011c6ae3d4963f45c30 (patch)
tree8230de893dbc0aff5a0a894e802af7913f620076 /include/linux/nvme.h
parent159b67d7aefe3902df91075be5d80943c1570aa8 (diff)
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>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index af29b0e0b092..971ef086ed63 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -552,6 +552,7 @@ struct nvme_ns {
int ns_id;
int lba_shift;
+ int ms;
u64 mode_select_num_blocks;
u32 mode_select_block_len;
};