Re: A desktop environment[1] kernel wishlist
From: Jan Kara
Date: Fri Oct 31 2014 - 05:36:29 EST
On Mon 27-10-14 20:02:51, Sergey "Shnatsel" Davidoff wrote:
> > If "recursive mtime" was available, would that work for you?
>
> It would work for detecting "offline" changes. I suppose recursive
> mtime not viable for online monitoring, mostly because detecting file
> renaming would be a massive PITA (and we already have fanotify with
> exactly this problem).
Yes, you'll get only "something has changed in a subtree" information for
each directory. You'd then have to rescan the directory to find out what
has changed. But there's no simple solution for this - either you have to
process tons of events for busy directory tree or you have to somehow
reduce the amount of information provided to userspace...
Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/