lkml.org 
[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Is there a "make hole" (truncate in middle) syscall?
Date
On Friday 12 December 2003 08:24, Jörn Engel wrote:

> > ...and it sucks. Same problem as with updatedb - 99% of all work is
> > bogus, but you don't know which 99%, because the one knowing about it,
> > the kernel, doesn't tell you a thing.
>
> Actually, updatedb sucks even worse. The database is notoriously
> outdated and each run of updatedb has the effect of flushing the
> cache. Because of the cache-flushing effect, you cannot even run it
> with maximum niceness. Running it still hurts you *afterwards*.
>
> Same goes for you userland daemon without kernel support.
>
> Jörn

1) The date optimization, only looking at files newer than the last run, means
you can avoid looking at 90% of the filesystem.

2) If drop-behind ever gets working, life is good for this sort of thing. If
not, there's always O_DIRECT or its replacement (whatever Linus and the
oracle guy were arguing about last month)...

Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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