Re: [PATCH v8 0/10] More device removal fixes

2013-02-11 Thread Bart Van Assche
On 02/09/13 10:28, Bart Van Assche wrote: On 02/09/13 00:29, Joe Lawrence wrote: I haven't had time to rerun the test without the two patches that wait in scsi_remove_host(), however I did rerun the test and verify the same behavior as in my earlier mail. I didn't see any __scsi_remove_device()

Re: [PATCH v8 0/10] More device removal fixes

2013-02-09 Thread Bart Van Assche
On 02/09/13 00:29, Joe Lawrence wrote: I haven't had time to rerun the test without the two patches that wait in scsi_remove_host(), however I did rerun the test and verify the same behavior as in my earlier mail. I didn't see any __scsi_remove_device() instances running. Some more investigatio

Re: [PATCH v8 0/10] More device removal fixes

2013-02-08 Thread Joe Lawrence
On Thu, 7 Feb 2013, Bart Van Assche wrote: > On 02/06/13 23:31, Joe Lawrence wrote: > > crash> list scsi_device.siblings -H 0x8808513a4290 -s scsi_device > > > > 880851232520 > > struct scsi_device { > >is_visible = 0x1, > >sdev_state = SDEV_DEL, > > } > > 880851235388 > > str

Re: [PATCH v8 0/10] More device removal fixes

2013-02-07 Thread Bart Van Assche
On 02/06/13 23:31, Joe Lawrence wrote: crash> list scsi_device.siblings -H 0x8808513a4290 -s scsi_device 880851232520 struct scsi_device { is_visible = 0x1, sdev_state = SDEV_DEL, } 880851235388 struct scsi_device { is_visible = 0x1, sdev_state = SDEV_DEL, } This is int

Re: [PATCH v8 0/10] More device removal fixes

2013-02-07 Thread Bart Van Assche
On 02/06/13 23:31, Joe Lawrence wrote: On Tue, 5 Feb 2013, Bart Van Assche wrote: Fix a few race conditions that can be triggered by removing a device: - Fix a race between starved list processing and device removal. - Avoid that a SCSI LLD callback can get invoked after scsi_remove_host() fi

Re: [PATCH v8 0/10] More device removal fixes

2013-02-06 Thread Joe Lawrence
On Tue, 5 Feb 2013, Bart Van Assche wrote: > Fix a few race conditions that can be triggered by removing a device: > - Fix a race between starved list processing and device removal. > - Avoid that a SCSI LLD callback can get invoked after > scsi_remove_host() finished. > - Speed up device remova

[PATCH v8 0/10] More device removal fixes

2013-02-05 Thread Bart Van Assche
Fix a few race conditions that can be triggered by removing a device: - Fix a race between starved list processing and device removal. - Avoid that a SCSI LLD callback can get invoked after scsi_remove_host() finished. - Speed up device removal by stopping error handling as soon as the SHOST_D