lkml.org 
[lkml]   [2004]   [Feb]   [19]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateThu, 19 Feb 2004 11:18:24 +0100
FromHelge Hafting <>
SubjectRe: UTF-8 and case-insensitivity
tridge@samba.org wrote:
> Ted,
> 
>  > Actually, not necessarily.  What if Samba gets notifications of all
>  > filename renames and creates in the directory, so that after the
>  > initial directory scan, it can keep track of what filenames are
>  > present in the directory?  It can then "prove the negative", as you
>  > put it, without having to continuously do directory scans.
> 
> Currently dnotify doesn't give you the filename that is being
> added/deleted/renamed. It just tells you that something has happened,
> but not enough to actually maintain a name cache in user space.
> 
You can still keep per-directory caches that you simply invalidate on each dnotify,
and rebuild when necessary.  At least it would help the "repeated
lookup of nonexistant filenames" case.  
Path searches for executables usually happens on directories that don't 
see much writing.

Helge Hafting

-
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:01    [W:3.647 / U:0.290 seconds]
©2003-2008 Jasper Spaans