Re: 2.0.31-pre9: "noise after df"

Ingo Molnar (mingo@pc7537.hil.siemens.at)
Tue, 16 Sep 1997 14:09:42 +0200 (MET DST)


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