lkml.org 
[lkml]   [2002]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/19] writeback tunables
On Mon, Jun 17, 2002 at 12:33:18PM +0200, Martin Dalecki wrote:
>
> > + * The interval between `kupdate'-style writebacks.
> > + */
> > +int dirty_writeback_centisecs = 5 * 100;
> > +
> > +/*
> > + * The largest amount of time for which data is allowed to remain dirty
> > + */
> > +int dirty_expire_centisecs = 30 * 100;
> > +
>
> Blind guess - didn't the 100 wan't to be HZ?!

The units are centiseconds (as the name suggests). 5 * 100 centiseconds = 5
seconds, so the dirty writeback timeout is 5 seconds. Check the code a
little further and you'll see HZ gets factored into them on use.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

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

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.109 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site