Why a find causes a flush?

peloy@ven.ra.rockwell.com
9 Aug 1998 19:09:59 GMT


Hi,

I wonder why doing a "find /some_dir" causes the kernel to mark buffers
as dirty so the next scheduled flush writes these buffers out to disk.

I haven't taken any look at the code but I see how the dcache saves
accesses to disk when doing the find, but I can also see how the disk
is accessed about 2 seconds after find finishes, or when sync is run.

This is with kernel 2.1.115 and there's nothing bad, it is just that I
am curious why this behavior...

peloy.-

-
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.altern.org/andrebalsa/doc/lkml-faq.html