diff --git a/patches.suse/scsi-lpfc-Remove-unnecessary-log-message-in-queuecom.patch b/patches.suse/scsi-lpfc-Remove-unnecessary-log-message-in-queuecom.patch new file mode 100644 index 0000000..a5336c3 --- /dev/null +++ b/patches.suse/scsi-lpfc-Remove-unnecessary-log-message-in-queuecom.patch @@ -0,0 +1,39 @@ +From: Justin Tee +Date: Tue, 5 Mar 2024 12:04:52 -0800 +Subject: scsi: lpfc: Remove unnecessary log message in queuecommand path +Patch-mainline: Queued in subsystem maintainer repository +Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git +Git-commit: 91ddb6d0c3159bcc505bfa564d0573ae500cc2c7 +References: bsc#1221777 + +Message 9038 logs when LLDD receives SCSI_PROT_NORMAL when T10 DIF +protection is configured. The event is not wrong, but the log message has +not proven useful in debugging so it is removed. + +Signed-off-by: Justin Tee +Link: https://lore.kernel.org/r/20240305200503.57317-2-justintee8345@gmail.com +Signed-off-by: Martin K. Petersen +Acked-by: Daniel Wagner +--- + drivers/scsi/lpfc/lpfc_scsi.c | 10 ---------- + 1 file changed, 10 deletions(-) + +--- a/drivers/scsi/lpfc/lpfc_scsi.c ++++ b/drivers/scsi/lpfc/lpfc_scsi.c +@@ -5336,16 +5336,6 @@ lpfc_queuecommand(struct Scsi_Host *shos + } + err = lpfc_bg_scsi_prep_dma_buf(phba, lpfc_cmd); + } else { +- if (vport->phba->cfg_enable_bg) { +- lpfc_printf_vlog(vport, +- KERN_INFO, LOG_SCSI_CMD, +- "9038 BLKGRD: rcvd PROT_NORMAL cmd: " +- "x%x reftag x%x cnt %u pt %x\n", +- cmnd->cmnd[0], +- scsi_prot_ref_tag(cmnd), +- scsi_logical_block_count(cmnd), +- (cmnd->cmnd[1]>>5)); +- } + err = lpfc_scsi_prep_dma_buf(phba, lpfc_cmd); + } + diff --git a/series.conf b/series.conf index e967b87..987acb5 100644 --- a/series.conf +++ b/series.conf @@ -20068,6 +20068,7 @@ patches.suse/scsi-qla2xxx-Change-debug-message-during-driver-unlo.patch patches.suse/scsi-qla2xxx-Delay-I-O-Abort-on-PCI-error.patch patches.suse/scsi-qla2xxx-Update-version-to-10.02.09.200-k.patch + patches.suse/scsi-lpfc-Remove-unnecessary-log-message-in-queuecom.patch ######################################################## # end of sorted patches