diff options
| author | John Pittman <[email protected]> | 2021-03-31 14:16:56 -0400 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-04-05 23:20:38 -0400 |
| commit | 22ec513e705735e32d4b8263c23d20c779639c7e (patch) | |
| tree | c15c621becb09f92e52ab19b2da9ff0717139614 /tools/perf/scripts/python | |
| parent | d56030f882a71e41732b544f98e1735b66a25d35 (diff) | |
scsi: scsi_dh_alua: Prevent duplicate pg info print in alua_rtpg()
Due to the frequency that alua_rtpg() is called, the path group info print
within can print the same info multiple times in the logs, subsequent
prints adding no new information or value.
To reproduce:
# modprobe scsi_debug vpd_use_hostno=0
# systemctl start multipathd.service
To fix, check stored values, only printing at alua attach/activate and if
any of the values change.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: David Jeffery <[email protected]>
Reviewed-by: Laurence Oberman <[email protected]>
Signed-off-by: John Pittman <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions