From mboxrd@z Thu Jan 1 00:00:00 1970 From: swise@opengridcomputing.com (Steve Wise) Date: Fri, 10 Jun 2016 16:25:40 -0500 Subject: nvme-fabrics: crash at nvme connect-all In-Reply-To: References: <53708289.31891804.1465463883806.JavaMail.zimbra@kalray.eu> <20160609132459.GA5105@infradead.org> <1290178000.33062227.1465486654766.JavaMail.zimbra@kalray.eu> <04d301d1c28d$183af7b0$48b0e710$@opengridcomputing.com> <04e301d1c292$d6c34430$8449cc90$@opengridcomputing.com> <055801d1c29f$e164c000$a42e4000$@opengridcomputing.com> <01c601d1c32a$59576ec0$0c064c40$@opengridcomputing.com> <020b01d1c334$45077f50$cf167df0$@opengridcomputing.com> <023d01d1c34c$b9249bd0$2b6dd370$@opengridcomputing.com> <024201d1c354$db2e0330$918a0990$@opengridcomputing.com> <027901d1c35d$07150d10$153f2730$@opengridcomputing.com> Message-ID: <027d01d1c35e$a38b1bc0$eaa15340$@opengridcomputing.com> > -----Original Message----- > From: Ming Lin [mailto:mlin at kernel.org] > Sent: Friday, June 10, 2016 4:21 PM > To: Steve Wise > Cc: Jens Axboe; ming l; Sagi Grimberg; Marta Rybczynska; linux- > nvme at lists.infradead.org; Christoph Hellwig; james p freyensee; keith busch; > armenx baloyan > Subject: Re: nvme-fabrics: crash at nvme connect-all > > On Fri, Jun 10, 2016 at 2:14 PM, Steve Wise > wrote: > >> > >> Does Sagi's patch help? > >> > >> Author: Sagi Grimberg > >> Date: Thu Jun 9 13:20:09 2016 -0700 > >> > >> fabrics: Don't directly free opts->host > >> > >> It might be the default host, so we need to call > >> nvmet_put_host (which is safe against NULL lucky for > >> us). > >> > >> Reported-by: Alexander Nezhinsky > >> Signed-off-by: Sagi Grimberg > >> > > > > Yes! Failures recover and subsequent connects work! > > > > Thanks for the help Ming! Sorry I'm finding already fixed problems. :( > > No problem :-) > Can I have your Test-by tag? > I can't reply directly to Sagi's because it wasn't posted to linux-rdma apparently, and it must have been posted to linux-nvme before I joined. But for both: Tested-by: Steve Wise > Christoph, > > Could you apply these 2 patches? > > fabrics: Don't directly free opts->host > nvme-rdma: correctly stop keep alive on error path