diff options
author | Keith Busch <keith.busch@intel.com> | 2013-04-10 03:13:20 +0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-05-02 22:41:05 +0400 |
commit | 159b67d7aefe3902df91075be5d80943c1570aa8 (patch) | |
tree | 8c830202c7bc95727ecfc4e6dace6a5d8f4a1ea8 /include/linux | |
parent | 427e97080196548557b288517537ab7eb48c309f (diff) | |
download | linux-159b67d7aefe3902df91075be5d80943c1570aa8.tar.xz |
NVMe: Device specific stripe size handling
We have an nvme device that has a concept of a stripe size. IO requests
that do not transfer data crossing a stripe boundary has greater
performance compared to IO that does cross it. This patch sets the
stripe size for the device if the device and vendor ids match one with
this feature and splits IO requests that cross the stripe boundary.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'include/linux')
-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 9b6fba872f47..af29b0e0b092 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -536,6 +536,7 @@ struct nvme_dev { char model[40]; char firmware_rev[8]; u32 max_hw_sectors; + u32 stripe_size; u16 oncs; }; |