• Hannes Reinecke's avatar
    nvme-multipath: round-robin I/O policy · 75c10e73
    Hannes Reinecke authored
    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: default avatarHannes Reinecke <hare@suse.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    75c10e73
core.c 98.2 KB