summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChandrakanth Patil <chandrakanth.patil@broadcom.com>2019-06-25 14:04:23 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-27 07:07:35 +0300
commit7fa3174b3ef4e517ebb8a08078871ceab705a969 (patch)
tree62b4274ce4e25bfe7333c4c3ac2f89a2b1ce3ae5 /tools/perf/util/scripting-engines/trace-event-python.c
parenta6ffd5bf681905729a4926cb3006d0329dd5d857 (diff)
downloadlinux-7fa3174b3ef4e517ebb8a08078871ceab705a969.tar.xz
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions