[PATCH v2] nvme: rdma/tcp: call nvme_mpath_stop() from reconnect workqueue
Martin Wilck
mwilck at suse.com
Tue Apr 27 09:56:23 BST 2021
On Tue, 2021-04-27 at 09:30 +0200, Martin Wilck wrote:
> On Tue, 2021-04-27 at 09:45 +0800, Chao Leng wrote:
> > >
> > > So ... resubmit and cc stable as Sagi suggested, or work out
> > > something
> > > else?
> > Another option:call nvme_mpath_stop in nvme_mpath_init.
> > In this way, transport drivers do not care mpath detail.
>
> That would require that we determine in nvme_mpath_init() whether
> we're
> called for the first time for the given controller, or whether the
> controller is re-initializing. It's not obvious to me how to do that
> reliably without introducing a new state flag.
>
I'll submit a v3 with changed subject as suggested by Sagi. That will
fix the list corruption; we can figure out a better solution later.
Martin
More information about the Linux-nvme
mailing list