aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatt Lupfer <[email protected]>2019-09-05 18:19:28 +0000
committerMartin K. Petersen <[email protected]>2019-09-10 22:10:17 -0400
commit5ff843721467b4ef8d857b4724e3da7f515cf242 (patch)
tree58731689c7f5c9e2a7a33ea67864bc2a9b105316 /tools/perf/scripts/python
parent57adf5d4cfd3198aa480e7c94a101fc8c4e6109d (diff)
scsi: virtio_scsi: unplug LUNs when events missed
The event handler calls scsi_scan_host() when events are missed, which will hotplug new LUNs. However, this function won't remove any unplugged LUNs. The result is that hotunplug doesn't work properly when the number of unplugged LUNs exceeds the event queue size (currently 8). Scan existing LUNs when events are missed to check if they are still present. If not, remove them. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matt Lupfer <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions