From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (Christoph Hellwig) Date: Mon, 5 Jun 2017 17:07:55 +0200 Subject: NVMeoF: multipath stuck after bringing one ethernet port down In-Reply-To: References: <656fd267-1e01-b561-fc74-e36c1892d1f9@gmail.com> <5b5b0a61-41cc-8018-19db-f683a604d7e4@grimberg.me> <48b14a96-e419-f6d1-090e-cbe774139e11@mellanox.com> <459af627-3918-768e-c35f-3f99768b82cb@grimberg.me> <20170605084037.GB22677@lst.de> Message-ID: <20170605150755.GA29050@lst.de> On Mon, Jun 05, 2017@11:53:58AM +0300, Sagi Grimberg wrote: >> So this looks somewhat bogus to me, while the rest looks ok. > > The point here is that RECONNECTING is a ctrl state that has a > potential to linger for a long time (unlike RESETTING or DELETING), > so we don't want to trigger requeue right away. > > I'm open to other ideas. I just want to prevent triggering a redundant > loop of queue_rq -> fail with BUSY -> queue_rq -> fail with BUSY ... > > Thoughts? Let's get this patch in, then sort out a common stratefy for the dev_loss_tmo for all drivers, as FC is already doing some work in that area.