projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568035b
)
ata: libata-core: Print timeout value when internal command times
author
Tomas Henzl
<thenzl@redhat.com>
Wed, 10 Aug 2022 17:59:09 +0000
(19:59 +0200)
committer
Damien Le Moal
<damien.lemoal@opensource.wdc.com>
Wed, 17 Aug 2022 16:40:29 +0000
(
01:40
+0900)
Printing the timeout value may help in troubleshooting failures.
Signed-off-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-core.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libata-core.c
b/drivers/ata/libata-core.c
index 826d41f341e4afc05843ff8044fcc477cd862f54..9478194740e09127a7af263848065db085c2c330 100644
(file)
--- a/
drivers/ata/libata-core.c
+++ b/
drivers/ata/libata-core.c
@@
-1578,8
+1578,8
@@
static unsigned ata_exec_internal_sg(struct ata_device *dev,
else
ata_qc_complete(qc);
- ata_dev_warn(dev, "qc timeout (cmd 0x%x)\n",
- command);
+ ata_dev_warn(dev, "qc timeout
after %u msecs
(cmd 0x%x)\n",
+
timeout,
command);
}
spin_unlock_irqrestore(ap->lock, flags);