Re: [PATCH] pm80xx: remove the SCSI host before detaching from SAS transport

2015-11-09 Thread Martin K. Petersen
> "Benjamin" == Benjamin Rood writes: Benjamin> Previously, when this module was unloaded via 'rmmod' with at Benjamin> least one drive attached, the SCSI error handler thread would Benjamin> become stuck in an infinite recovery loop and lockup the Benjamin> system, necessitating a reboot. A

Re: [PATCH] pm80xx: remove the SCSI host before detaching from SAS transport

2015-11-03 Thread Christoph Hellwig
On Mon, Nov 02, 2015 at 09:29:13AM +0100, Jack Wang wrote: > Thanks for digging it down. Looks good to me. > > Seems other libsas based driver all affected, maybe we should also fix them? > Christoph (cc-ed), could you share your opinion about this fix, as the > commit cff549e4860f is from you? s

Re: [PATCH] pm80xx: remove the SCSI host before detaching from SAS transport

2015-11-02 Thread Jack Wang
2015-10-30 21:01 GMT+01:00 Benjamin Rood : > Previously, when this module was unloaded via 'rmmod' with at least one > drive attached, the SCSI error handler thread would become stuck in an > infinite recovery loop and lockup the system, necessitating a reboot. > > Once the SAS layer is detached, t

[PATCH] pm80xx: remove the SCSI host before detaching from SAS transport

2015-10-30 Thread Benjamin Rood
Previously, when this module was unloaded via 'rmmod' with at least one drive attached, the SCSI error handler thread would become stuck in an infinite recovery loop and lockup the system, necessitating a reboot. Once the SAS layer is detached, the driver will fail any subsequent commands since th