> If several changes are made to one file in the same second, fam will only
> report the first one.
Even when you're using imon, the idea isn't that you get one event per
file operation. (imon has code which intentionally notifies the client
only once when multiple operations of the same type happen in rapid
succession on the same file.)
The question of whether Interest::do_stat() should return true when some of
the other stat bits have changed is a good one. Since (in most cases) the
polling code is just a fallback for when the kernel won't provide
notification, and (I think) imon sends events on uid/gid/mode changes, I
think that part of your patch is right.
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx