Clemens wrote: > On Wed, 17 Aug 2011 02:27:24 +1200, Ingo Weinhold <ingo_weinhold@xxxxxx> > wrote: > > On 2011-08-16 at 00:25:35 [+0200], Clemens > > <clemens.zeidler@xxxxxxxxxxxxxx> > > wrote: > >> another (IMHO a bit hacky) solution would be to add a userland listener > >> for open and close. The index server then watch files that have been > >> opened writeable and do the node-entry mapping by itself. > > > > The problem with open/close notifications is that there would be an awful > > lot of them. E.g. Tracker uses the storage kit classes a lot (which > > internally all use FDs), so it would probably generate thousands of > > notifications when just opening a window with a few hundred entries. > > Is it also a problem when watching only the open calls with a writeable > flag? IIRC, the storage kit classes mostly try to open nodes read-write first, so that wouldn't help all that much. CU, Ingo