aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpi3mr/mpi/mpi30_init.h
diff options
context:
space:
mode:
authorSreekanth Reddy <[email protected]>2022-02-10 09:58:09 +0000
committerMartin K. Petersen <[email protected]>2022-02-11 22:40:03 +0000
commit580e6742205efe6b0bfa5a6a6079f509d99168e0 (patch)
tree5f067cd5b7ff883e11904ec624c5f06a4163d60b /drivers/scsi/mpi3mr/mpi/mpi30_init.h
parentscsi: Remove unused member cmd_pool for structure scsi_host_template (diff)
downloadkernel-580e6742205efe6b0bfa5a6a6079f509d99168e0.tar.gz
kernel-580e6742205efe6b0bfa5a6a6079f509d99168e0.zip
scsi: mpi3mr: Fix deadlock while canceling the fw event
During controller reset, the driver tries to flush all the pending firmware event works from worker queue that are queued prior to the reset. However, if any work is waiting for device addition/removal operation to be completed at the SML, then a deadlock is observed. This is due to the controller reset waiting for the device addition/removal to be completed and the device/addition removal is waiting for the controller reset to be completed. To limit this deadlock, continue with the controller reset handling without canceling the work which is waiting for device addition/removal operation to complete at SML. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sreekanth Reddy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi/mpi30_init.h')
0 files changed, 0 insertions, 0 deletions