lkml.org 
[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectbdflush synchronous IO on prerelease-diff

Hi Linus,

I've noticed you changed bdflush to do synchronous IO on page_launder().

That seems to be a performance problem, since kflushd will have to wait
for dirty buffers to get synced instead looping on the inactive dirty
list more often.

Here is a patch to change this.

--- linux.orig/fs/buffer.c Wed Jan 3 22:43:24 2001
+++ linux/fs/buffer.c Thu Jan 4 00:28:50 2001
@@ -2710,7 +2710,7 @@

flushed = flush_dirty_buffers(0);
if (free_shortage())
- flushed += page_launder(GFP_KERNEL, 1);
+ flushed += page_launder(GFP_KERNEL, 0);

/*
* If there are still a lot of dirty buffers around,

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

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.048 / U:0.672 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site