Re: New feature

Michael O'Reilly (michael@metal.iinet.net.au)
24 Sep 1997 09:51:57 +0800


"David S. Miller" <davem@jenolan.rutgers.edu> writes:

> Date: Tue, 23 Sep 1997 18:31:26 -0400 (EDT)
> From: "Richard B. Johnson" <root@chaos.analogic.com>
>
> o Now perform `sync`. Every directory entry will be updated, causing
> an enormonous amount of wasted CPU cycles and disk activity!
> Sync should have done nothing. The disk was never written.
> If you execute `ls -R /`, the entire directory structure is again
> read from the physical media. Not nice.
>
> The ATIME updates dirty all the inodes.

That's true and ok, but it shouldn't be re-reading the media again
should it? The dirty bit should be cleared, but the buffer shouldn't
be marked invalid...

Michael.