diff options
| author | Keith Busch <keith.busch@intel.com> | 2015-04-07 18:57:19 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@fb.com> | 2015-04-07 21:11:06 -0400 |
| commit | a67a95134ffddd0ca4527c77e86375c3deb2938f (patch) | |
| tree | 26981c1df5c40941a9bdcda9dad235cf8a82b4f8 /include/linux | |
| parent | 7f749d9c109223e4d1724e674e7d603082e85839 (diff) | |
NVMe: Meta data handling through submit io ioctl
This adds support for the extended metadata formats through the submit
IO ioctl, and simplifies the rest when using a separate metadata format.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvme.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 0adad4a5419b..8dbd05e70f09 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h | |||
| @@ -117,8 +117,9 @@ struct nvme_ns { | |||
| 117 | 117 | ||
| 118 | unsigned ns_id; | 118 | unsigned ns_id; |
| 119 | int lba_shift; | 119 | int lba_shift; |
| 120 | int ms; | 120 | u16 ms; |
| 121 | int pi_type; | 121 | bool ext; |
| 122 | u8 pi_type; | ||
| 122 | u64 mode_select_num_blocks; | 123 | u64 mode_select_num_blocks; |
| 123 | u32 mode_select_block_len; | 124 | u32 mode_select_block_len; |
| 124 | }; | 125 | }; |
