diff options
author | Hannes Reinecke <hare@suse.de> | 2019-02-18 13:43:26 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-02-20 17:17:49 +0300 |
commit | 75c10e73272484bc3a940a9c8e4ec39a7a1b8c21 (patch) | |
tree | c0c20ba4d5600d531bf0ed2c362888fa963097a6 /drivers/nvme/target | |
parent | 49b1f22b567ba1d7d8174950be4398a69d0effb7 (diff) | |
download | linux-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