Comment 37 for bug 13428

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

We are experiencing 2 bugs here:

1) both the dnotify and inotify backends lose some signals during normal operations.
   In my environment they miss some Add messages. This leads to bug number 2.

2) the dnotify and inotify backends remove direcotries from polling
automatically when
   not requested to do so by the client.
   Given that we miss some signals (that could happen for several reasons but
still wrong)
   the backend automatically removes a Directory from being polled when the
refcount is 0.
   It is a client task to tell gam_server to stop polling a certain dir since it
might
   want to monitor an empty dir for example. The server has no way to know that.

My patch solves 2) and as a consequence hides 1) to the user that might notice a
slower
updates of the icons (since they lack a cycle of refresh).

Fabio