From: David Milburn <dmilburn@redhat.com>
To: linux-ide@vger.kernel.org
Cc: axboe@kernel.dk
Subject: [PATCH] libata: specify timeout value when internal command times out.
Date: Mon, 23 Nov 2020 12:42:44 -0600 [thread overview]
Message-ID: <1606156964-13154-1-git-send-email-dmilburn@redhat.com> (raw)
Specifying timeout value may help in troubleshooting failures.
Signed-off-by: David Milburn <dmilburn@redhat.com>
---
drivers/ata/libata-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 61c762961ca8..8f1ba6208e5c 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -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);
--
2.18.1
next reply other threads:[~2020-11-23 18:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-23 18:42 David Milburn [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-07-26 17:01 [PATCH] libata: specify timeout value when internal command times out Tomas Henzl
2022-07-26 17:36 ` Sergei Shtylyov
2022-07-28 15:46 ` Tomas Henzl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606156964-13154-1-git-send-email-dmilburn@redhat.com \
--to=dmilburn@redhat.com \
--cc=axboe@kernel.dk \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).