summaryrefslogtreecommitdiff
path: root/drivers/ufs
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-10-18 13:29:51 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-22 03:25:59 +0000
commit310bcaef6d7ed1626bba95dd9b5c5acd189c0e35 (patch)
tree5e7082d69de0f55c78099a322037a5f332940b0f /drivers/ufs
parentdee7121e8c0a3ce41af2b02d516f54eaec32abcd (diff)
downloadlinux-310bcaef6d7ed1626bba95dd9b5c5acd189c0e35.tar.gz
linux-310bcaef6d7ed1626bba95dd9b5c5acd189c0e35.tar.bz2
linux-310bcaef6d7ed1626bba95dd9b5c5acd189c0e35.zip
scsi: core: Support failing requests while recovering
The current behavior for SCSI commands submitted while error recovery is ongoing is to retry command submission after error recovery has finished. See also the scsi_host_in_recovery() check in scsi_host_queue_ready(). Add support for failing SCSI commands while host recovery is in progress. This functionality will be used to fix a deadlock in the UFS driver. Cc: Christoph Hellwig <hch@lst.de> Cc: Ming Lei <ming.lei@redhat.com> Cc: John Garry <john.garry@huawei.com> Cc: Mike Christie <michael.christie@oracle.com> Cc: Hannes Reinecke <hare@suse.de> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20221018202958.1902564-4-bvanassche@acm.org Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
0 files changed, 0 insertions, 0 deletions