summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_fam.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20931: This changes the notify infrastructure from a polling-based to an ↵Volker Lendecke1-364/+184
event-driven based approach. The only remaining hook into the backend is now void *(*notify_add)(TALLOC_CTX *mem_ctx, struct event_context *event_ctx, files_struct *fsp, uint32 *filter); (Should we put this through the VFS, so that others can more easily plug in?) The trick here is that the backend can pick filter bits that the main smbd should not handle anymore. Thanks to tridge for this idea. The backend can notify the main smbd process via void notify_fsp(files_struct *fsp, uint32 action, char *name); The core patch is not big, what makes this more than 1800 lines are the individual backends that are considerably changed but can be reviewed one by one. Based on this I'll continue with inotify now. Volker (This used to be commit 9cd6a8a82792b7b6967141565d043b6337836a5d)
2007-10-10r20699: This is an attempt to fix bug 4326.Volker Lendecke1-1/+2
James, can you please confirm this and merge it to 3_0_24? For me it fixes the segfault. Thanks, Volker (This used to be commit a841b7659ba7b76b2da7993e1f4402aa0e11716f)
2007-10-10r16284: Start fixing up gcc4 -O6 warnings on an x86_64 box. size_t != unsignedJeremy Allison1-1/+1
int in a format string. Jeremy. (This used to be commit face01ef01e1a3c96eae17c56cadf01020d4cb46)
2007-10-10r14111: Work around additional typedefs in the gamin implementationJames Peach1-4/+11
of the FAM API. (This used to be commit dc96ce90e50da9a82f941b0b534c0681c8477f5e)
2007-10-10r13484: Add missing semi-colon.James Peach1-1/+1
(This used to be commit a78d94f539e41ac384e09cd6e44cb611dd8e1570)
2007-10-10r13482: Push the FAM notification file descriptor into the selectJames Peach1-13/+23
set to avoid unnecessary polling. (This used to be commit 1dce945ccbba25092cf54890301c8f78f8aede33)
2007-10-10r13027: Support file change notifications from FAM.James Peach1-0/+446
(This used to be commit 652b511ff24ce41c7745a0e00363e619e5027828)