提交 16169fb7 编写于 作者: T Tomas Henzl 提交者: Damien Le Moal

ata: libata-core: Print timeout value when internal command times

Printing the timeout value may help in troubleshooting failures.
Signed-off-by: NDavid Milburn <dmilburn@redhat.com>
Signed-off-by: NTomas Henzl <thenzl@redhat.com>
Signed-off-by: NDamien Le Moal <damien.lemoal@opensource.wdc.com>
上级 568035b0
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册