[7241] in linux-scsi channel archive
[PATCH] scsi_debug HZ==100 assumption
daemon@ATHENA.MIT.EDU (Artur Skawina)
Tue Sep 21 18:27:20 1999
Message-ID: <37E7F3A3.19206406@geocities.com>
Date: Tue, 21 Sep 1999 23:07:47 +0200
From: Artur Skawina <skawina@geocities.com>
MIME-Version: 1.0
To: Eric Youngdale <eric@andante.org>
CC: linux-scsi@vger.rutgers.edu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
diff -urNp /img/linux-2.3.18/drivers/scsi/scsi_debug.c linux-2.3.18as/drivers/scsi/scsi_debug.c
--- /img/linux-2.3.18/drivers/scsi/scsi_debug.c Wed Sep 8 16:45:42 1999
+++ linux-2.3.18as/drivers/scsi/scsi_debug.c Sat Sep 11 00:24:50 1999
@@ -64,8 +64,8 @@ static int NR_REAL = -1;
#endif
#define START_PARTITION 4
-/* Number of jiffies to wait before completing a command */
-#define DISK_SPEED 10
+/* Time to wait before completing a command */
+#define DISK_SPEED (HZ/10) /* 100ms */
#define CAPACITY (0x80000)
static int starts[] =
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu