aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas_fusion.c
diff options
context:
space:
mode:
authorChandrakanth Patil <chandrakanth.patil@broadcom.com>2019-06-25 16:34:23 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-27 00:07:35 -0400
commit7fa3174b3ef4e517ebb8a08078871ceab705a969 (patch)
tree62b4274ce4e25bfe7333c4c3ac2f89a2b1ce3ae5 /drivers/scsi/megaraid/megaraid_sas_fusion.c
parentscsi: megaraid_sas: Call disable_irq from process IRQ poll (diff)
downloadlinux-dev-7fa3174b3ef4e517ebb8a08078871ceab705a969.tar.xz
linux-dev-7fa3174b3ef4e517ebb8a08078871ceab705a969.zip
scsi: megaraid_sas: Release Mutex lock before OCR in case of DCMD timeout
Issue: There is possibility of few DCMDs timing out with 'reset_mutex' lock held. As part of DCMD timeout handling, driver calls function megasas_reset_fusion which also tries to acquire same lock 'reset_mutex' and end up with deadlock. Fix: Upon timeout of DCMDs (which are fired with 'reset_mutex' lock held), driver will release 'reset_mutex' before calling OCR function and will acquire lock again after OCR function returns. Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_fusion.c')
0 files changed, 0 insertions, 0 deletions