diff options
| author | James Smart <jsmart2021@gmail.com> | 2021-09-10 16:31:56 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-09-14 23:33:21 -0400 |
| commit | 3ea998cbf9e781b6d16250fab1e6121dce32790b (patch) | |
| tree | 0859a0d3850eaec572256b85ea63467be523c9a7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d5ac69b332d8859d1f8bd5d4dee31f3267f6b0d2 (diff) | |
| download | linux-3ea998cbf9e781b6d16250fab1e6121dce32790b.tar.gz linux-3ea998cbf9e781b6d16250fab1e6121dce32790b.zip | |
scsi: lpfc: Fix I/O block after enabling managed congestion mode
If the congestion management framework dynamically enables, it may do so
while I/O is in flight. The updates of cmf info due to inflight I/O
completing may happen before values have been initialized.
Fix by ensure cmf_max_bytes_per_interval is initialized when checking
bandwidth utilization for SCSI layer blocking.
Link: https://lore.kernel.org/r/20210910233159.115896-12-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
