aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 19a5d4b23209..cca264db2478 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -121,6 +121,7 @@ struct nvme_ns {
121 unsigned ns_id; 121 unsigned ns_id;
122 int lba_shift; 122 int lba_shift;
123 int ms; 123 int ms;
124 int pi_type;
124 u64 mode_select_num_blocks; 125 u64 mode_select_num_blocks;
125 u32 mode_select_block_len; 126 u32 mode_select_block_len;
126}; 127};
@@ -138,6 +139,7 @@ struct nvme_iod {
138 int nents; /* Used in scatterlist */ 139 int nents; /* Used in scatterlist */
139 int length; /* Of data, in bytes */ 140 int length; /* Of data, in bytes */
140 dma_addr_t first_dma; 141 dma_addr_t first_dma;
142 struct scatterlist meta_sg[1]; /* metadata requires single contiguous buffer */
141 struct scatterlist sg[0]; 143 struct scatterlist sg[0];
142}; 144};
143 145