Thread (27 messages) 27 messages, 4 authors, 2020-12-04

Re: [PATCH v4 5/9] scsi: Do not wait for a request in scsi_eh_lock_door()

From: Bart Van Assche <bvanassche@acm.org>
Date: 2020-12-04 16:51:32
Also in: linux-scsi

On 12/2/20 11:27 PM, Ming Lei wrote:
BTW, scsi_eh_lock_door() returns void, and it can't be sync because
there may not be any driver tag available. Even though it is available,
the host state isn't running yet, so the command can't be queued to LLD
yet.

Maybe the above lines should be put after host state is updated to
RUNNING.

Also changing to NOWAIT can't avoid the issue completely, what if 'none'
is used?
Hi Ming,

I am considering to drop this patch since the latest version of the SPI
DV patch no longer introduces a new blk_mq_freeze_queue() call in the
SPI DV code. In other words, any potential issues with
scsi_eh_lock_door() are existing issues and are not made worse by my
patch series.

Thanks,

Bart.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help