aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-06-15 14:41:59 -0700
committerMartin K. Petersen <[email protected]>2018-06-19 22:02:25 -0400
commit982ea6f9ff2b2f92c03eda06df420b2f3699b7ad (patch)
tree5ee4819d5d287365915aa4f5d384b2844bdefae6 /tools/perf/scripts/python/call-graph-from-sql.py
parent91b7bdb2c0089cbbb817df6888ab1458c645184e (diff)
scsi: mpt3sas: Fix a race condition in mpt3sas_base_hard_reset_handler()
Since ioc->shost_recovery is set after ioc->reset_in_progress_mutex is obtained, if concurrent resets are issued there is a short time during which ioc->reset_in_progress_mutex is locked and ioc->shost_recovery == 0. Avoid that this can cause trouble by unconditionally locking ioc->shost_recovery. Signed-off-by: Bart Van Assche <[email protected]> Cc: Sathya Prakash <[email protected]> Cc: Chaitra P B <[email protected]> Cc: Suganath Prabu Subramani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions