aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorKevin Barnett <[email protected]>2021-09-28 18:54:35 -0500
committerMartin K. Petersen <[email protected]>2021-10-05 00:13:15 -0400
commit6ce1ddf53252dfd9debaef87648488c85d84a482 (patch)
treeb92df37fc0ab5c3713e1bb3aafcb0f56ff76d2f7 /tools/perf/scripts/python/net_dropmonitor.py
parent5d1f03e6f49ae80d417dc72d1ee16a3379e2c026 (diff)
scsi: smartpqi: Update LUN reset handler
Enhance check for commands queued to the controller. Add new function pqi_nonempty_inbound_queue_count() that will wait for all I/O queued for submission to controller across all queue groups to drain. Add helper functions to obtain queue command counts for each queue group. These queues should drain quickly as they are already staged to be submitted down to the controller's IB queue. Enhance check for outstanding command completion. Update the count of outstanding commands while waiting. This value was not re-obtained and was potentially causing infinite wait for all completions. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Scott Benesh <[email protected]> Reviewed-by: Scott Teel <[email protected]> Reviewed-by: Mike McGowen <[email protected]> Acked-by: John Donnelly <[email protected]> Signed-off-by: Kevin Barnett <[email protected]> Signed-off-by: Don Brace <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions