[RFC PATCH] nvme-multipath: break endless loop in nvme_round_robin_path

Chris Leech cleech at redhat.com
Tue Mar 22 08:42:29 PDT 2022


On Tue, Mar 22, 2022 at 4:17 AM Christoph Hellwig <hch at lst.de> wrote:
> Shouldn't
>
> 1bcf006a9d3d63c1bcb65a993cb13756954cd9c
> Author: Daniel Wagner <dwagner at suse.de>
> Date:   Wed Jan 27 11:30:33 2021 +0100
>
>     nvme-multipath: Early exit if no path is available
>
> take care of this?

No, in this case nvme_next_ns never returns NULL, but it also never
returns old.  In the kdump I have, there are two NVME_CTRL_CONNECTING
paths that are returned over-and-over.




More information about the Linux-nvme mailing list