Re: [PATCH 12/14] lpfc: Fix create_association oops on unloading LPFC driver

2018-04-09 Thread James Smart
On 4/9/2018 2:14 PM, James Smart wrote: On 4/9/2018 1:03 AM, Hannes Reinecke wrote: On Sat,  7 Apr 2018 11:30:24 -0700 James Smart wrote: Driver unload isn't waiting for all outstanding nvme associations to terminate before clearing structures. In particular, it did not

Re: [PATCH 12/14] lpfc: Fix create_association oops on unloading LPFC driver

2018-04-09 Thread James Smart
On 4/9/2018 1:03 AM, Hannes Reinecke wrote: On Sat, 7 Apr 2018 11:30:24 -0700 James Smart wrote: Driver unload isn't waiting for all outstanding nvme associations to terminate before clearing structures. In particular, it did not set dev_loss_tmo to 0 such that all

Re: [PATCH 12/14] lpfc: Fix create_association oops on unloading LPFC driver

2018-04-09 Thread Hannes Reinecke
On Sat, 7 Apr 2018 11:30:24 -0700 James Smart wrote: > Driver unload isn't waiting for all outstanding nvme associations > to terminate before clearing structures. In particular, it did not > set dev_loss_tmo to 0 such that all associations are immediately > terminated.

[PATCH 12/14] lpfc: Fix create_association oops on unloading LPFC driver

2018-04-07 Thread James Smart
Driver unload isn't waiting for all outstanding nvme associations to terminate before clearing structures. In particular, it did not set dev_loss_tmo to 0 such that all associations are immediately terminated. Thus the transport would enter reconnect timeouts and reattempt reconnect to an nvme