aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2022-02-26 17:04:30 -0600
committerMartin K. Petersen <[email protected]>2022-03-01 23:56:28 -0500
commit8dd3dff3bf3e9d91df3a4c3665d3da873b6095b8 (patch)
treea04a8f4bbef02f92fb4a54c0a097ee025149c8fb /tools/perf/scripts/python
parent07e0984b96ec1ba8c6de1c092b986b00ea0c114c (diff)
scsi: iscsi: Fix recovery and unblocking race
If the user sets the iscsi_eh_timer_workq/iscsi_eh workqueue's max_active to greater than 1, the recovery_work could be running when __iscsi_unblock_session() runs. The cancel_delayed_work() will then not wait for the running work and we can race where we end up with the wrong session state and scsi_device state set. This replaces the cancel_delayed_work() with the sync version. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Lee Duncan <[email protected]> Reviewed-by: Chris Leech <[email protected]> Signed-off-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions