diff options
author | Keith Busch <keith.busch@intel.com> | 2013-04-23 19:23:59 -0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-05-02 15:35:09 -0400 |
commit | f410c680b5344f1cb63ff011c6ae3d4963f45c30 (patch) | |
tree | 8230de893dbc0aff5a0a894e802af7913f620076 /include/linux/nvme.h | |
parent | 159b67d7aefe3902df91075be5d80943c1570aa8 (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.h | 1 |
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 { | |||
552 | 552 | ||
553 | int ns_id; | 553 | int ns_id; |
554 | int lba_shift; | 554 | int lba_shift; |
555 | int ms; | ||
555 | u64 mode_select_num_blocks; | 556 | u64 mode_select_num_blocks; |
556 | u32 mode_select_block_len; | 557 | u32 mode_select_block_len; |
557 | }; | 558 | }; |