IDE multwrite prinks going crazy...

From: Stephen Foskett (sfoskett@slf.gweep.net)
Date: Wed Jan 19 2000 - 16:06:19 EST


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@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:21 EST