On Wed, Mar 27, 2019 at 4:44 AM Bart Van Assche <bvanassche@xxxxxxx> 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 series for > kernel v5.2. > > Thanks, > > Bart. > > Bart Van Assche (2): > scsi: Avoid that .queuecommand() gets called for a quiesced SCSI > device > RDMA/srp: Fix a sleep-in-invalid-context bug > > drivers/infiniband/ulp/srp/ib_srp.c | 21 ++------------------- > drivers/scsi/scsi_error.c | 26 ++++++++++++++++++++++++-- > 2 files changed, 26 insertions(+), 21 deletions(-) > > -- > 2.21.0.196.g041f5ea1cf98 > Given it is a IB/SRP specific issue, could you consider the following one-line fix? https://marc.info/?l=linux-block&m=151585814931471&w=2 Thanks, Ming Lei