Re: [PATCH 0/2] Avoid that .queuecommand() gets called for a quiesced SCSI device

2019-03-27 Thread Bart Van Assche
On Wed, 2019-03-27 at 09:12 +0100, Christoph Hellwig wrote: > On Wed, Mar 27, 2019 at 09:58:16AM +0800, Ming Lei wrote: > > Given it is a IB/SRP specific issue, could you consider the following > > one-line fix? > > It isn't really a IB/SRP specific issue, it is just that the SRP > maintainer actu

Re: [PATCH 0/2] Avoid that .queuecommand() gets called for a quiesced SCSI device

2019-03-27 Thread Christoph Hellwig
On Wed, Mar 27, 2019 at 09:58:16AM +0800, Ming Lei wrote: > Given it is a IB/SRP specific issue, could you consider the following > one-line fix? It isn't really a IB/SRP specific issue, it is just that the SRP maintainer actually tried to fix this race that others often ignored. And checking for

Re: [PATCH 0/2] Avoid that .queuecommand() gets called for a quiesced SCSI device

2019-03-26 Thread Ming Lei
On Wed, Mar 27, 2019 at 4:44 AM Bart Van Assche wrote: > > Hi Martin, > > As explained in a recent LSF/MM topic proposal, it can happen that the SCSI > error handler calls .queuecommand() for quiesced SCSI devices. SCSI LLDs do > not expect this. Hence this patch series. Please consider this serie

[PATCH 0/2] Avoid that .queuecommand() gets called for a quiesced SCSI device

2019-03-26 Thread Bart Van Assche
Hi Martin, As explained in a recent LSF/MM topic proposal, it can happen that the SCSI error handler calls .queuecommand() for quiesced SCSI devices. SCSI LLDs do not expect this. Hence this patch series. Please consider this series for kernel v5.2. Thanks, Bart. Bart Van Assche (2): scsi: Av