Re: [PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread Johannes Thumshirn
On Wed, Mar 29, 2017 at 02:47:54PM +0200, Johannes Thumshirn wrote: > > > John, mind giving that one a shot in your test setup as well? > > Well, don't mind. It doesn't work in my test setup. > > I'm back to the drawing board... Please ignore my last mail, apparently it's a wise idea to do a

Re: [PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread Johannes Thumshirn
On Wed, Mar 29, 2017 at 02:36:11PM +0200, Jinpu Wang wrote: > On Wed, Mar 29, 2017 at 2:26 PM, Johannes Thumshirn > wrote: > > On Wed, Mar 29, 2017 at 12:53:28PM +0100, John Garry wrote: > >> On 29/03/2017 12:29, Johannes Thumshirn wrote: > >> >On Wed, Mar 29, 2017 at

Re: [PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread Jinpu Wang
On Wed, Mar 29, 2017 at 2:26 PM, Johannes Thumshirn wrote: > On Wed, Mar 29, 2017 at 12:53:28PM +0100, John Garry wrote: >> On 29/03/2017 12:29, Johannes Thumshirn wrote: >> >On Wed, Mar 29, 2017 at 12:15:44PM +0100, John Garry wrote: >> >>On 29/03/2017 10:41, Johannes

Re: [PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread Johannes Thumshirn
On Wed, Mar 29, 2017 at 12:53:28PM +0100, John Garry wrote: > On 29/03/2017 12:29, Johannes Thumshirn wrote: > >On Wed, Mar 29, 2017 at 12:15:44PM +0100, John Garry wrote: > >>On 29/03/2017 10:41, Johannes Thumshirn wrote: > >>>In the advent of an SAS device unregister we have to wait for all

Re: [PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread John Garry
On 29/03/2017 12:29, Johannes Thumshirn wrote: On Wed, Mar 29, 2017 at 12:15:44PM +0100, John Garry wrote: On 29/03/2017 10:41, Johannes Thumshirn wrote: In the advent of an SAS device unregister we have to wait for all destruct works to be done to not accidently delay deletion of a SAS rphy

Re: [PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread Johannes Thumshirn
On Wed, Mar 29, 2017 at 12:15:44PM +0100, John Garry wrote: > On 29/03/2017 10:41, Johannes Thumshirn wrote: > >In the advent of an SAS device unregister we have to wait for all destruct > >works to be done to not accidently delay deletion of a SAS rphy or it's > >children to the point when we're

Re: [PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread John Garry
On 29/03/2017 10:41, Johannes Thumshirn wrote: In the advent of an SAS device unregister we have to wait for all destruct works to be done to not accidently delay deletion of a SAS rphy or it's children to the point when we're removing the SCSI or SAS hosts. Signed-off-by: Johannes Thumshirn

[PATCH 1/2] scsi: sas: flush destruct workqueue on device unregister

2017-03-29 Thread Johannes Thumshirn
In the advent of an SAS device unregister we have to wait for all destruct works to be done to not accidently delay deletion of a SAS rphy or it's children to the point when we're removing the SCSI or SAS hosts. Signed-off-by: Johannes Thumshirn ---