summaryrefslogtreecommitdiff
path: root/drivers/nvme/target
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2019-02-18 13:43:26 +0300
committerChristoph Hellwig <hch@lst.de>2019-02-20 17:17:49 +0300
commit75c10e73272484bc3a940a9c8e4ec39a7a1b8c21 (patch)
treec0c20ba4d5600d531bf0ed2c362888fa963097a6 /drivers/nvme/target
parent49b1f22b567ba1d7d8174950be4398a69d0effb7 (diff)
downloadlinux-75c10e73272484bc3a940a9c8e4ec39a7a1b8c21.tar.xz
nvme-multipath: round-robin I/O policy
Implement a simple round-robin I/O policy for multipathing. Path selection is done in two rounds, first iterating across all optimized paths, and if that doesn't return any valid paths, iterate over all optimized and non-optimized paths. If no paths are found, use the existing algorithm. Also add a sysfs attribute 'iopolicy' to switch between the current NUMA-aware I/O policy and the 'round-robin' I/O policy. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target')
0 files changed, 0 insertions, 0 deletions