Re: EVFILT_VNODE doesn't scale to large directory trees?

2010-10-25 Thread Kenton Varda
for changes. Is there? On Sun, Oct 24, 2010 at 9:46 PM, Robert Bonomi bon...@mail.r-bonomi.comwrote: From owner-freebsd-questi...@freebsd.org Sun Oct 24 22:17:42 2010 Date: Sun, 24 Oct 2010 18:05:34 -0700 From: Kenton Varda tempo...@gmail.com To: freebsd-questions@freebsd.org Subject

Re: EVFILT_VNODE doesn't scale to large directory trees?

2010-10-25 Thread Kenton Varda
On Mon, Oct 25, 2010 at 1:54 AM, Igor V. Ruzanov ig...@canmos.ru wrote: I thought so too but was not sure about his problem. With kqueue()/kevent() we can monitor every open file descriptor. So how many files are laid down in the directory tree, 100, 1000, 15000? In every such way its

Re: EVFILT_VNODE doesn't scale to large directory trees?

2010-10-25 Thread Kenton Varda
Ivan Voras wrote: Short answer: no. Long answer: There should be. There were past discussions on writing such a facility to e.g. receive events for all files on per-mountpoint basis (which you could filter...), but we're not there yet. Thanks! That answers my question. I'll find some sort

EVFILT_VNODE doesn't scale to large directory trees?

2010-10-24 Thread Kenton Varda
Hi all, I am trying to write some code which monitors a possibly-large directory tree for changes. Specifically, it's a build system, and I want it to automatically start rebuilding whenever I modify a source file. So far the approach I've taken is to use EVFILT_VNODE to watch every file and