[kde-freebsd] Fixing KDE4's FAM support

Markus Brüffer markus at brueffer.de
Thu Jan 7 18:11:29 CET 2010


Am 07.01.2010 um 00:52 schrieb Oliver Heesakkers:

> Op woensdag 6 januari 2010 18:46:26 schreef Markus Brüffer:
>> Hi,
>> 
>> here is a patch that should finally fix KDE4's FAM support. I would like it
>> to have some wider testing before I commit it to the port and send it
>> upstream:
>> 
>> http://people.freebsd.org/~markus/kdelibs4.diff
>> 
> 
> Looking at an NFS mounted directory, Dolphin will not show any changes I make 
> in an xterm session in the same directory.
> 
> for example: after removing a file I waited five minutes, clicked it's name in 
> Dolphin, changed directory and back, but Dolphin would still show the removed 
> file. Only after a restart or refresh the change is visible.

Thanks for testing it. It appears that the problem you are seeing is gamin's fault. Exchanging gamin with FAM or compiling gamin without kqueue support makes notifications on NFS mounted dirs work.

Anyway, tests from other users revealed problems when monitored directories contain several thousands of files and it appears that the only real solution to this problem is a multithreaded approach due to the way FAM reacts on monitor requests.

Thanks,

Markus


More information about the kde-freebsd mailing list