summaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-04-07 16:57:19 -0600
committerJens Axboe <axboe@fb.com>2015-04-07 19:11:06 -0600
commita67a95134ffddd0ca4527c77e86375c3deb2938f (patch)
tree26981c1df5c40941a9bdcda9dad235cf8a82b4f8 /include/linux/nvme.h
parent7f749d9c109223e4d1724e674e7d603082e85839 (diff)
downloadblackbird-op-linux-a67a95134ffddd0ca4527c77e86375c3deb2938f.tar.gz
blackbird-op-linux-a67a95134ffddd0ca4527c77e86375c3deb2938f.zip
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/nvme.h')
-rw-r--r--include/linux/nvme.h5
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 {
unsigned ns_id;
int lba_shift;
- int ms;
- int pi_type;
+ u16 ms;
+ bool ext;
+ u8 pi_type;
u64 mode_select_num_blocks;
u32 mode_select_block_len;
};
OpenPOWER on IntegriCloud