diff options
author | Keith Busch <keith.busch@intel.com> | 2013-04-24 01:23:59 +0200 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-05-02 21:35:09 +0200 |
commit | f410c680b5344f1cb63ff011c6ae3d4963f45c30 (patch) | |
tree | 8230de893dbc0aff5a0a894e802af7913f620076 /include | |
parent | NVMe: Device specific stripe size handling (diff) | |
download | linux-f410c680b5344f1cb63ff011c6ae3d4963f45c30.tar.xz linux-f410c680b5344f1cb63ff011c6ae3d4963f45c30.zip |
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')
-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 { int ns_id; int lba_shift; + int ms; u64 mode_select_num_blocks; u32 mode_select_block_len; }; |