[linux-cifs-client] Re: dnotify/inotify and vfs questions
Ian Campbell
ijc at hellion.org.uk
Thu Aug 25 12:40:18 GMT 2005
On Tue, 2005-08-23 at 16:23 +0100, Jamie Lokier wrote:
> <receive some request>...
> if (any_dnotify_or_inotify_events_pending) {
> read_dnotify_or_inotify_events();
> if (any_events_related_to(file)) {
> store_in_userspace_stat_cache(file, stat(file));
> }
> }
> stat_info = lookup_userspace_stat_cache(file);
>
> Now that's a silly way to save one system call in the fast path by itself.
I'm not that familiar with inotify internals but doesn't
read_dnotify_or_inotify_events() or
any_dnotify_or_inotify_events_pending() involve a syscall?
Ian.
--
Ian Campbell
Current Noise: Primordial - The Coffin Ships
Today is the first day of the rest of the mess.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
More information about the linux-cifs-client
mailing list