lkml.org 
[lkml]   [1999]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bottom-up mtimes (was Re: (reiserfs) Re: I discussed reading . . .)
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/

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