From: Stephen Cameron <steve.cameron@hp.com>
To: linux-kernel@vger.kernel.org
Cc: axboe@suse.de
Subject: [PATCH] 2.5.41, cciss (3 of 3)
Date: Fri, 11 Oct 2002 08:10:31 -0600 [thread overview]
Message-ID: <20021011081031.C1911@zuul.cca.cpqcorp.net> (raw)
Wait up to 20 seconds for polled commands to complete. A certain multiport
storage box needs this.
diff -urN linux-2.5.41-p/drivers/block/cciss.c linux-2.5.41-q/drivers/block/cciss.c
--- linux-2.5.41-p/drivers/block/cciss.c Wed Oct 9 15:22:14 2002
+++ linux-2.5.41-q/drivers/block/cciss.c Wed Oct 9 15:54:35 2002
@@ -1318,9 +1318,9 @@
unsigned long done;
int i;
- /* Wait (up to 2 seconds) for a command to complete */
+ /* Wait (up to 20 seconds) for a command to complete */
- for (i = 200000; i > 0; i--) {
+ for (i = 2000000; i > 0; i--) {
done = hba[ctlr]->access.command_completed(hba[ctlr]);
if (done == FIFO_EMPTY) {
udelay(10); /* a short fixed delay */
next reply other threads:[~2002-10-11 14:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-11 14:10 Stephen Cameron [this message]
2002-10-11 14:21 ` Arjan van de Ven
2002-10-11 14:32 Cameron, Steve
2002-10-11 15:38 Stephen Cameron
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=20021011081031.C1911@zuul.cca.cpqcorp.net \
--to=steve.cameron@hp.com \
--cc=axboe@suse.de \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®