Skip to content

Commit 8e2d81c

Browse files
Arun Easimartinkpetersen
authored andcommitted
scsi: qla2xxx: Fix excessive messages during device logout
Disable default logging of some I/O path messages. If desired, the messages can be turned back on by setting ql2xextended_error_logging. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ewan D. Milne <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Arun Easi <[email protected]> Signed-off-by: Nilesh Javali <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent cced4c0 commit 8e2d81c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/scsi/qla2xxx/qla_isr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,7 +2634,7 @@ static void qla24xx_nvme_iocb_entry(scsi_qla_host_t *vha, struct req_que *req,
26342634
}
26352635

26362636
if (unlikely(logit))
2637-
ql_log(ql_log_warn, fcport->vha, 0x5060,
2637+
ql_log(ql_dbg_io, fcport->vha, 0x5060,
26382638
"NVME-%s ERR Handling - hdl=%x status(%x) tr_len:%x resid=%x ox_id=%x\n",
26392639
sp->name, sp->handle, comp_status,
26402640
fd->transferred_length, le32_to_cpu(sts->residual_len),
@@ -3491,7 +3491,7 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
34913491

34923492
out:
34933493
if (logit)
3494-
ql_log(ql_log_warn, fcport->vha, 0x3022,
3494+
ql_log(ql_dbg_io, fcport->vha, 0x3022,
34953495
"FCP command status: 0x%x-0x%x (0x%x) nexus=%ld:%d:%llu portid=%02x%02x%02x oxid=0x%x cdb=%10phN len=0x%x rsp_info=0x%x resid=0x%x fw_resid=0x%x sp=%p cp=%p.\n",
34963496
comp_status, scsi_status, res, vha->host_no,
34973497
cp->device->id, cp->device->lun, fcport->d_id.b.domain,

0 commit comments

Comments
 (0)