Bug 5102 - add FSEvents change notification
add FSEvents change notification
Product: Samba 3.2
Classification: Unclassified
Component: VFS Modules
All Mac OS X
: P3 enhancement
: ---
Assigned To: James Peach
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-11-23 14:59 UTC by Neal A. Lucier
Modified: 2007-12-12 22:15 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Neal A. Lucier 2007-11-23 14:59:35 UTC
FSEvents is the directory change notification API in Leopard, 10.5.  As polling is no longer a supported notification method, it would be excellent if samba could use the emerging notification capabilities in various operating systems.


'This API provides a mechanism to notify clients about directories they ought to re-scan in order to keep their internal data structures up-to-date with respect to the true state of the file system. (For example, when files or directories are created, modified, or removed.) It sends these notifications "in bulk", possibly notifying the client of changes to several directories in a single callback. By using the API, clients can notice such changes quickly, without needing to resort to recursive polling/scanning of the file system.'
Comment 1 James Peach 2007-12-12 22:15:33 UTC
I haven't investigated FSEvents enough to know whether it would be suitable for file change notifications.

Not sure when I would get time to look at this. I'm happy to review patches though.