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:
@@ -1132,9 +1132,7 @@ PageWriterRun::PageWritten(PageWriterCallback* callback, status_t status,
|
|||||||
status_t
|
status_t
|
||||||
page_writer(void* /*unused*/)
|
page_writer(void* /*unused*/)
|
||||||
{
|
{
|
||||||
// TODO: once the I/O scheduler is there, we should write
|
const uint32 kNumPages = 256;
|
||||||
// a lot more pages back.
|
|
||||||
const uint32 kNumPages = 32;
|
|
||||||
uint32 writtenPages = 0;
|
uint32 writtenPages = 0;
|
||||||
bigtime_t lastWrittenTime = 0;
|
bigtime_t lastWrittenTime = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user