Skip to content

Commit 2d83fb0

Browse files
cp890582martinkpetersen
authored andcommitted
scsi: megaraid_sas: Log message when controller reset is requested but not issued
The driver now includes the print message 'IO is completed, no reset is required' when a reset is requested but not issued. This message is displayed only when pending SCSI IO is completed before issuing the reset. Signed-off-by: Chandrakanth patil <[email protected]> Signed-off-by: Sumit Saxena <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 8e3ed9e commit 2d83fb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/scsi/megaraid/megaraid_sas_fusion.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4268,6 +4268,9 @@ megasas_wait_for_outstanding_fusion(struct megasas_instance *instance,
42684268
}
42694269

42704270
out:
4271+
if (!retval && reason == SCSIIO_TIMEOUT_OCR)
4272+
dev_info(&instance->pdev->dev, "IO is completed, no OCR is required\n");
4273+
42714274
return retval;
42724275
}
42734276

0 commit comments

Comments
 (0)