diff options
author | John Pittman <jpittman@redhat.com> | 2021-03-31 20:16:56 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-06 05:20:38 +0200 |
commit | 22ec513e705735e32d4b8263c23d20c779639c7e (patch) | |
tree | c15c621becb09f92e52ab19b2da9ff0717139614 /drivers/nvmem/Makefile | |
parent | scsi: smartpqi: Update version to 2.1.8-045 (diff) | |
download | linux-22ec513e705735e32d4b8263c23d20c779639c7e.tar.xz linux-22ec513e705735e32d4b8263c23d20c779639c7e.zip |
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/20210331181656.5046-1-jpittman@redhat.com
Reviewed-by: David Jeffery <djeffery@redhat.com>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: John Pittman <jpittman@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/nvmem/Makefile')
0 files changed, 0 insertions, 0 deletions