[PATCHES] Improve reporting of inotify notifications
vl at samba.org
Mon Jul 18 13:14:19 UTC 2016
On Fri, Jul 15, 2016 at 03:52:54PM -0700, Christof Schmitt wrote:
> These patches fix a case seen in the smb2.notify.tree test running
> against a server with notify:inotify enabled. Without these patches, the
> notifiy requests that ask only for FILE_NOTIFY_CHANGE_FILE_NAME (i=17
> and i=18 in the array) also receive the changes for directories. This is
> fixed by querying the inotify event mask and only report the events that
> map to that mask.
> Even with these patches, the smb2.notify.tree receives more events than
> expected, but that is expected due to the double notification from
> inotify and smbd internal events.
More information about the samba-technical