[PATCH 0/2] nvme-multipath: fixes for non-optimized paths

Hannes Reinecke hare at suse.de
Mon Jul 27 12:08:01 EDT 2020


Hi all,

one of our partners informed us that the round-robin path selector
didn't do the right thing when only one optimized path (or, indeed,
none at all) are present.
These patches will fixup nvme_round_robin() to handle the case when
less than two optimized (but several non-optimized) paths are present.

These pathes are a rework of the earlier patches send by Martin Wilck.

As usual, comments and reviews are welcome.

Hannes Reinecke (1):
  nvme-multipath: do not fall back to __nvme_find_path() for
    non-optimized paths

Martin Wilck (1):
  nvme-multipath: fix logic for non-optimized paths

 drivers/nvme/host/multipath.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

-- 
2.16.4




More information about the Linux-nvme mailing list