aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas_base.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2019-07-02 13:27:05 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-07-11 20:30:02 -0400
commit463cdad83823830dd59572fb81ac243f6a44b589 (patch)
tree7be34e5bfe6a66b8112e2dad778204e8e46f2755 /drivers/scsi/megaraid/megaraid_sas_base.c
parentMerge branch '5.3/scsi-sg' into scsi-next (diff)
downloadlinux-dev-463cdad83823830dd59572fb81ac243f6a44b589.tar.xz
linux-dev-463cdad83823830dd59572fb81ac243f6a44b589.zip
scsi: core: use scmd_printk() to print which command timed out
With a possibly faulty disk the following messages may appear in the logs: kernel: sd 0:0:9:0: timing out command, waited 180s kernel: sd 0:0:9:0: timing out command, waited 20s kernel: sd 0:0:9:0: timing out command, waited 20s kernel: sd 0:0:9:0: timing out command, waited 60s kernel: sd 0:0:9:0: timing out command, waited 20s This is not very informative because it's not possible to identify the command that timed out. This patch replaces sdev_printk() with scmd_printk(). Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions