>>>>> " " == Adam J Richter <adam@yggdrasil.com> writes:
> When I do anything that causes a lot of I/O to the IDE
> hard disk on a computer running 2.3.99-pre6, the system becomes
> very unresponsive. I often have to wait a couple of seconds
> for characters to echo on xterm windows, for example.
> 2.3.99pre6-5 did not have this problem. I did not try
> 2.3.99pre6-6 or 2.3.99pre6-7, so the problem could have been
> introduced at that point too.
> I have verified that the problem is triggered by IO rather
> than CPU utilization.
Does the following cure it?
Cheers,
Trond
--- linux-2.3.99-pre6/fs/buffer.c Wed Apr 26 02:28:55 2000
+++ linux-2.3.99-pre6-devel/fs/buffer.c Thu Apr 27 13:27:52 2000
@@ -2417,7 +2417,8 @@
int block_sync_page(struct page *page)
{
- run_task_queue(&tq_disk);
+ if (!Page_Uptodate(page))
+ run_task_queue(&tq_disk);
return 0;
}
-
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 Apr 30 2000 - 21:00:12 EST