[PATCH v1 0/2]: nvme-fc: fix race with connectivity loss with nvme_fc_create_association

Daniel Wagner dwagner at suse.de
Wed Jun 26 00:13:00 PDT 2024


On Tue, Jun 11, 2024 at 09:06:45PM GMT, Daniel Wagner wrote:
> We got a bug report that a controller was stuck in the connected state after an
> association dropped. It turns out that nvme_fc_create_association can succeed
> even though some operation do fail. This is on purpose to handle other corner
> cases, thus we can't really make nvme_fc_create_assocication bullet proof.
> 
> Given this, I think the second best option is to ensure that we always schedule
> a reset whenever a connectivity loss is observed in CONNECTING state. This is
> not perfect (possible back to back reset) but at least it is correct, which wins
> in my books.

Any feedback?



More information about the Linux-nvme mailing list