1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
samba-mirror/source3/smbd
Volker Lendecke d5206610cd r20931: This changes the notify infrastructure from a polling-based to an 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 9cd6a8a827)
2007-10-10 12:17:21 -05:00
..
aio.c r20541: Fix some obvious glitches in wait_for_aio_completion. Hmmm. It seems 2007-10-10 12:16:55 -05:00
blocking.c r20237: Replace exit_server with exit_server_cleanly where appropriate. All 2007-10-10 12:16:34 -05:00
change_trust_pw.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
chgpasswd.c r19094: Fix debug statement. 2007-10-10 12:15:11 -05:00
close.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
conn.c r20178: Ensure we allocate the intermediate trans structs 2007-10-10 12:16:29 -05:00
connection.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
dfree.c r11190: Fix enhancement request #3192. 2007-10-10 11:05:06 -05:00
dir.c r20873: Some correctness fixes w.r.t. Samba4 torture BASE-DELETE. 2007-10-10 12:17:16 -05:00
dmapi.c r19873: Make sure we are privileged when doing DMAPI operations on systems 2007-10-10 12:16:03 -05:00
dosmode.c r20854: Ok, now I think we're at a point where looking at notify starts to make sense 2007-10-10 12:17:13 -05:00
error.c r17541: When returning a trans2 request, if the "max data 2007-10-10 11:38:38 -05:00
fake_file.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
fileio.c r17220: If we're going to fail a write with an errno, make 2007-10-10 11:38:19 -05:00
filename.c r20916: Add in the delete on close final fix - but only enabled 2007-10-10 12:17:19 -05:00
files.c r20854: Ok, now I think we're at a point where looking at notify starts to make sense 2007-10-10 12:17:13 -05:00
ipc.c r20237: Replace exit_server with exit_server_cleanly where appropriate. All 2007-10-10 12:16:34 -05:00
lanman.c r19963: Add 'registry shares = yes' and registry key security descriptors. 2007-10-10 12:16:16 -05:00
mangle_hash2.c r18793: Fix BE string handling in the auto-generated 2007-10-10 12:00:58 -05:00
mangle_hash.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
mangle_map.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
mangle.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
map_username.c r16591: Belt and braces approach to shut Klocwork up - bug #2001. 2007-10-10 11:19:02 -05:00
message.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
msdfs.c r20718: Sync up the filename path parsing changes from SAMBA_3_0_24. 2007-10-10 12:17:04 -05:00
negprot.c r20368: Fix valgrind report of uninitialized memory 2007-10-10 12:16:44 -05:00
noquotas.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
notify_fam.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
notify_hash.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
notify_kernel.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
notify.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
ntquotas.c r17348: Some C++ warnings 2007-10-10 11:38:27 -05:00
nttrans.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
open.c r20883: W00t! I now understand how "delete on close" really 2007-10-10 12:17:18 -05:00
oplock_irix.c r20833: Reformatting 2007-10-10 12:17:11 -05:00
oplock_linux.c r17896: Reformatting. I did not want to do it anymore, but these ones looked just 2007-10-10 11:38:57 -05:00
oplock.c r20846: Before this gets out of control... 2007-10-10 12:17:13 -05:00
password.c r17408: Let us use netgroups even without a NIS domain but just using files 2007-10-10 11:38:32 -05:00
pipes.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
posix_acls.c r20873: Some correctness fixes w.r.t. Samba4 torture BASE-DELETE. 2007-10-10 12:17:16 -05:00
process.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
quotas.c r19260: Fix for bug #3524 from tiamat@komi.mts.ru - Solaris quotas. 2007-10-10 12:15:26 -05:00
reply.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
sec_ctx.c r17348: Some C++ warnings 2007-10-10 11:38:27 -05:00
server.c r20916: Add in the delete on close final fix - but only enabled 2007-10-10 12:17:19 -05:00
service.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
session.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
sesssetup.c r20124: clean up nested extern declaration warnings 2007-10-10 12:16:26 -05:00
share_access.c r19010: Fix bug 4137 2007-10-10 12:14:57 -05:00
srvstr.c (merge from HEAD) 2003-03-22 13:47:42 +00:00
statcache.c r20916: Add in the delete on close final fix - but only enabled 2007-10-10 12:17:19 -05:00
statvfs.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
trans2.c r20931: This changes the notify infrastructure from a polling-based to an event-driven 2007-10-10 12:17:21 -05:00
uid.c r17295: Back out the become_root_uid_only change on the POSIX 2007-10-10 11:38:24 -05:00
utmp.c r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replication 2007-10-10 10:52:06 -05:00
vfs.c r20844: Somewhat radical change - this may break the build (I will 2007-10-10 12:17:12 -05:00