Re: [PATCH, resend] Fix race between starved list processing and device removal

2012-10-07 Thread James Bottomley
On Mon, 2012-09-24 at 15:14 +0200, Bart Van Assche wrote: Avoid that the sdev reference count can drop to zero before the queue is run by scsi_run_queue(). Also avoid that the sdev reference count can drop to zero in the same function by invoking __blk_run_queue(). [...] if

Re: [PATCH, resend] Fix race between starved list processing and device removal

2012-10-07 Thread Bart Van Assche
On 10/07/12 12:47, James Bottomley wrote: On Mon, 2012-09-24 at 15:14 +0200, Bart Van Assche wrote: Avoid that the sdev reference count can drop to zero before the queue is run by scsi_run_queue(). Also avoid that the sdev reference count can drop to zero in the same function by invoking