aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2021-05-25 13:18:09 -0500
committerMartin K. Petersen <[email protected]>2021-06-02 01:28:21 -0400
commit7ce9fc5ecde0d8bd64c29baee6c5e3ce7074ec9a (patch)
tree151aeecebc20b935d680cdb88c721c267059d2a0 /tools/perf/scripts/python
parentf6f9645744702f4690e884e86523a7ce1895e221 (diff)
scsi: iscsi: Flush block work before unblock
We set the max_active iSCSI EH works to 1, so all work is going to execute in order by default. However, userspace can now override this in sysfs. If max_active > 1, we can end up with the block_work on CPU1 and iscsi_unblock_session running the unblock_work on CPU2 and the session and target/device state will end up out of sync with each other. This adds a flush of the block_work in iscsi_unblock_session. Link: https://lore.kernel.org/r/[email protected] Fixes: 1d726aa6ef57 ("scsi: iscsi: Optimize work queue flush use") Reviewed-by: Lee Duncan <[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