lkml.org 
[lkml]   [1999]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: rewritten bdflush

On Thu, 13 May 1999, Rik van Riel wrote:

> I think we might want to change the kernel's behaviour
> to include the following things:
> - don't flush if:
> - there are less than X dirty buffers &&
> - we haven't recently read from the disk

You're ignoring very important issues of recoverability. If a process is
doing work that involves writing to disk, then it should be written out
regardless of whether the disk is shut down or not.

If you're concerned about writes because of atime modifications, then I
would suggest you turn off atime modification.

> - flush if:
> - there are more than X dirty buffers ||
> - we issued a read from the disk more than
> Y and less than Z seconds ago ||
> - the dirty buffer is FAR too old
> (say, an hour or so)

You can do the first and last one by tweaking the bdflush parameters.


-
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:51    [W:0.067 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site