* [patch 3/4] ibmvscsi.c: fix premature loop exit
@ 2004-11-29 20:32 Dave C Boutcher
0 siblings, 0 replies; only message in thread
From: Dave C Boutcher @ 2004-11-29 20:32 UTC (permalink / raw)
To: linux-scsi
Description: Fix a bug where we could fall out of our delay
loop and then forget to scan for drives.
Signed-off-by: Dave Boutcher <boutcher@us.ibm.com>
---
ibmvscsi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.10-rc1orig/drivers/scsi/ibmvscsi/ibmvscsi.c 2004-12-01 11:11:07.285070336 -0600
+++ linux-2.6.10-rc1/drivers/scsi/ibmvscsi/ibmvscsi.c 2004-12-01 11:10:00.846052920 -0600
@@ -88,7 +88,7 @@
static int max_requests = 50;
static int max_sectors = 32 * 8; /* default max I/O 32 pages */
-#define IBMVSCSI_VERSION "1.5.2"
+#define IBMVSCSI_VERSION "1.5.3"
MODULE_DESCRIPTION("IBM Virtual SCSI");
MODULE_AUTHOR("Dave Boutcher");
@@ -1335,7 +1335,7 @@
*/
for (wait_switch = jiffies + (init_timeout * HZ);
time_before(jiffies, wait_switch) &&
- atomic_read(&hostdata->request_limit) < 0;) {
+ atomic_read(&hostdata->request_limit) < 2;) {
msleep(10);
}
--
Dave Boutcher
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-29 20:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29 20:32 [patch 3/4] ibmvscsi.c: fix premature loop exit Dave C Boutcher
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).