Increased the number of pages the page writer tries to write per run.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27217 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-08-28 01:49:59 +00:00
parent 0316483f0a
commit 96b6a162a1
+1 -3
View File
@@ -1132,9 +1132,7 @@ PageWriterRun::PageWritten(PageWriterCallback* callback, status_t status,
status_t
page_writer(void* /*unused*/)
{
// TODO: once the I/O scheduler is there, we should write
// a lot more pages back.
const uint32 kNumPages = 32;
const uint32 kNumPages = 256;
uint32 writtenPages = 0;
bigtime_t lastWrittenTime = 0;