Re: bottom-up mtimes (was Re: (reiserfs) Re: I discussed reading . . .)

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Fri, 25 Jun 1999 23:36:51 +0200


Kragen Sitaker wrote:
> Somebody wrote:
> > Next [for W2K emulation] files need to be able to inherit stat data, so
> > that a file can share its modification time with its parent
> > directory, so that modifying the file changes the mod time on the
> > directory.
>
> This opens some interesting possibilities:
> - - find could be implemented in terms of locate (except for -atime)
> - - so find would run in time proportional to the number of files you had
> updated since the last updatedb, instead of time proportional
> to the number of files on your disk. This is likely to be even
> more useful as filesystems expand from millions of files to
> hundreds of millions of files (if reiserfs takes off).

- Recursive makes can be made much faster too.
- Believe me when I say _much_ faster ;-)
- `find' can be used to speed up recursive makes
- but for a really big project the `find' time still dominates overall build
time. (Like _20 minutes_ to find all the changed files in a source
tree -- my fault for having 200,000 sources I guess ;-)

-- Jamie

-
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.tux.org/lkml/