[RFC PATCH] nvme-multipath: break endless loop in nvme_round_robin_path
Christoph Hellwig
hch at lst.de
Tue Mar 22 04:17:43 PDT 2022
On Mon, Mar 21, 2022 at 03:43:03PM -0700, Chris Leech wrote:
> This is a backstop for the odd loop construct in nvme_round_robin_path.
> It counts how many times the head pointer has been passed, as that's the
> only thing guarenteed to stay on the list. Once is needed to start from
> a different place and check the entire list, twice is excessive looping.
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?
More information about the Linux-nvme
mailing list