aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorScott Bauer <scott.bauer@intel.com>2017-06-15 10:44:30 -0600
committerChristoph Hellwig <hch@lst.de>2017-06-16 08:25:54 +0200
commit6b8190d61a622e095f04451437953acd2d74b371 (patch)
treef309ffa8854cf5b3093f5fa1151e3285e91e6550 /include/linux/nvme.h
parentnvme: don't hard code size of struct t10_pi_tuple (diff)
downloadlinux-dev-6b8190d61a622e095f04451437953acd2d74b371.tar.xz
linux-dev-6b8190d61a622e095f04451437953acd2d74b371.zip
nvme: implement NS Optimal IO Boundary from 1.3 Spec
The NVMe 1.3 spec introduces Namespace Optimal IO Boundaries (NOIOB), which standardizes the stripe mechanism we currently have quirks for. This patch implements the necessary logic to handle this new feature. Signed-off-by: Scott Bauer <scott.bauer@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 6d476f242ee6..291587a0743f 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -282,7 +282,7 @@ struct nvme_id_ns {
__le16 nabsn;
__le16 nabo;
__le16 nabspf;
- __u16 rsvd46;
+ __le16 noiob;
__u8 nvmcap[16];
__u8 rsvd64[40];
__u8 nguid[16];