diff options
author | Hannes Reinecke <hare@suse.de> | 2020-07-27 18:08:03 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-29 07:45:22 +0200 |
commit | fbd6a42d8932e172921c7de10468a2e12c34846b (patch) | |
tree | e49b04f533229e6ee3e02a9684cdcd3f3682954c /fs/internal.h | |
parent | nvme-multipath: fix logic for non-optimized paths (diff) | |
download | linux-fbd6a42d8932e172921c7de10468a2e12c34846b.tar.xz linux-fbd6a42d8932e172921c7de10468a2e12c34846b.zip |
nvme-multipath: do not fall back to __nvme_find_path() for non-optimized paths
When nvme_round_robin_path() finds a valid namespace we should be using it;
falling back to __nvme_find_path() for non-optimized paths will cause the
result from nvme_round_robin_path() to be ignored for non-optimized paths.
Fixes: 75c10e732724 ("nvme-multipath: round-robin I/O policy")
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions