aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2023-03-27 07:43:02 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2023-04-02 22:09:21 -0400
commit0aaa3fad4fd931ba3accac3a1fcc7334ca780591 (patch)
tree6ad4b58ebf2f0a64a9eda5aaa66ab3c7350fbceb /tools/perf/scripts/python/export-to-postgresql.py
parentscsi: scsi_debug: Don't iter all shosts in clear_luns_changed_on_target() (diff)
downloadwireguard-linux-0aaa3fad4fd931ba3accac3a1fcc7334ca780591.tar.xz
wireguard-linux-0aaa3fad4fd931ba3accac3a1fcc7334ca780591.zip
scsi: scsi_debug: Change shost list lock to a mutex
The shost list lock, sdebug_host_list_lock, is a spinlock. We would only lock in non-atomic context in this driver, so use a mutex instead, which is friendlier if we need to schedule when iterating. Signed-off-by: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20230327074310.1862889-4-john.g.garry@oracle.com Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions