IDE multwrite prinks going crazy...

Stephen Foskett sfoskett en slf.gweep.net
Jue Ene 20 03:43:59 CST 2000


I'm getting streams of messages printed to the console when I enable
ide-multi with hdparm.  It seems to be working, it's just complaining
about it.  I traced it to this bit of drivers/block/ide-disk.c, added in
2.3.34:

--- v2.3.33/linux/drivers/block/ide-disk.c	Tue Dec 14 01:27:23 1999
+++ linux/drivers/block/ide-disk.c	Tue Dec 14 23:03:50 1999
@@ -241,9 +241,10 @@
 #ifdef CONFIG_BLK_DEV_PDC4030
 		rq->sector += nsect;
 #endif
-		if ((rq->nr_sectors -= nsect) <= 0)
-		{
-	                spin_unlock_irqrestore(&io_request_lock, flags);
+		if ((rq->nr_sectors -= nsect) <= 0) {
+			printk("%s: multwrite: count=%d, current=%ld\n",
+				drive->name, nsect, rq->nr_sectors);
+			spin_unlock_irqrestore(&io_request_lock, flags);
 			break;
 		}
 		if ((rq->current_nr_sectors -= nsect) == 0) {

Is this an error?  Or a bad message?

Thanks,
Stephen Foskett

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda