lkml.org 
[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ext2 defragmentation
Pavel Machek wrote:
> > Isn't it better to simply use locate / updatedb instead ?
>
> No. There are other operations (such as du -s ., search from midnight)
> which have find-like access pattern. And you have no chance of getting
> out of date.

I have a dirent->d_type patch which I really should get on with
submitting... Is anyone actually interested in it? It really speeds up
this sort of operation. I have tested it with treescan.

OTOH, the fastest solution of all would be one that's as good as locate
but always up to date. Why do you think I keep mentioning ways to
propagate "directory changed" information up directory trees?

-- 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:55    [W:0.059 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site