summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-09-11 09:51:29 +0200
committerChristoph Hellwig <hch@lst.de>2018-10-01 23:16:14 +0200
commitf333444708f82c4a4d3ccac004da0bfd9cfdfa42 (patch)
treea1aace9b855c7d01119f521179babf11eb941f2d /drivers/nvme/target
parentnvmet: don't split large I/Os unconditionally (diff)
downloadlinux-f333444708f82c4a4d3ccac004da0bfd9cfdfa42.tar.xz
linux-f333444708f82c4a4d3ccac004da0bfd9cfdfa42.zip
nvme: take node locality into account when selecting a path
Make current_path an array with an entry for every possible node, and cache the best path on a per-node basis. Take the node distance into account when selecting it. This is primarily useful for dual-ported PCIe devices which are connected to PCIe root ports on different sockets. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Hannes Reinecke <hare@suse.com>
Diffstat (limited to 'drivers/nvme/target')
0 files changed, 0 insertions, 0 deletions