lkml.org 
[lkml]   [1997]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.0.31-pre9: "noise after df"

On Tue, 16 Sep 1997, Ulrich Windl wrote:

> > Hmm. Recreated in 2.1.55, df sounds like sync... And looks like sync,
> > too (on blinkenlights)... And guess what:
> >
> > And it is because df _calls_ sync!
>
> Honestly, I'm not surprised, but the argument is: When bdflush is
> running, shouldn't all the dirty inodes be written back to disk from
> time to time. If so, sync() shouldn't have to do much work.

by running 'df' you touch the inode, atime gets changed, so sync() has
(some) nonzero work to do. Other inodes might get touched too.

-- mingo


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