lkml.org 
[lkml]   [2000]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectIDE multwrite prinks going crazy...
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.054 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site