libata: specify timeout value when internal command times out.
PATCH 1/1 libata: specify timeout value when internal command times out.
Specifying timeout value may help in troubleshooting failures.
Signed-off-by David Milburn <[email protected]>
--- drivers/ata/libata-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/ata/libata-core.c +2 -2
@@ -1600,8 +1600,8 @@ unsigned ata_exec_internal_sg(struct ata_device *dev,ata_qc_complete (qc);if (ata_msg_warn (ap)) -ata_dev_warn (dev,"qc timeout (cmd 0x%x)\n" , - command); +ata_dev_warn (dev,"qc timeout after %lu msecs (cmd 0x%x)\n" , + timeout, command); }spin_unlock_irqrestore (ap->lock, flags);
Signature · 1 line
2.18.1