]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: Reduce log message generation during ELS ring clean up
authorJustin Tee <justin.tee@broadcom.com>
Fri, 31 Jan 2025 00:05:19 +0000 (16:05 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 4 Feb 2025 02:53:22 +0000 (21:53 -0500)
commit8eccc58d71eafbd2635077916b68fda15791d270
tree8d206e095966e7ccc1749a3449f21582c9e55c4b
parent2014c95afecee3e76ca4a56956a936e23283f05b
scsi: lpfc: Reduce log message generation during ELS ring clean up

A clean up log message is output from lpfc_els_flush_cmd() for each
outstanding ELS I/O and repeated for every NPIV instance.  The log message
should only be generated for active I/Os matching the NPIV vport.  Thus,
move the vport check to before logging the message.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20250131000524.163662-2-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c