mh at codeweavers.com
Mon Apr 4 16:03:00 GMT 2005
On Mon, 2005-04-04 at 16:19 +1000, Andrew Tridgell wrote:
> Unfortunately it doesn't really help with case-insensitivity, as it is
> a non-blocking async interface, so the listeners get told way too
> late. Plus you have to have every directory open that you want to
> monitor, which would get silly.
I think inotify does not require you to have an fd open for each
directory, that was the motivation behind its design: GNOME needed a way
to monitor removable media without blocking its unmount.
The rest of your points about maintaining a userspace dcache seem to
make sense, though maybe trading memory for syscalls in the meantime
would be worth doing (until the kernel provides more support).
More information about the samba-technical