]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/nvme-core.c
NVMe: Device specific stripe size handling
authorKeith Busch <keith.busch@intel.com>
Tue, 9 Apr 2013 23:13:20 +0000 (17:13 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 2 May 2013 18:41:05 +0000 (14:41 -0400)
commit159b67d7aefe3902df91075be5d80943c1570aa8
tree8c830202c7bc95727ecfc4e6dace6a5d8f4a1ea8
parent427e97080196548557b288517537ab7eb48c309f
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>
drivers/block/nvme-core.c
include/linux/nvme.h