1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source3/smbd/notifyd
Andreas Schneider af011b987a s3:notifyd: Use a watcher per db record
This fixes a O(n²) performance regression in notifyd. The problem was
that we had a watcher per notify instance. This changes the code to have
a watcher per notify db entry.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14430

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Oct  1 14:22:43 UTC 2024 on atb-devel-224
2024-10-01 14:22:43 +00:00
..
fcn_wait.c notifyd: Add fcn_wait_send()/recv() 2020-10-24 05:57:31 +00:00
fcn_wait.h notifyd: Add fcn_wait_send()/recv() 2020-10-24 05:57:31 +00:00
notifyd_db.c s3:notifyd: Use a watcher per db record 2024-10-01 14:22:43 +00:00
notifyd_db.h notifyd: Factor out notify_walk() into its own file 2020-10-24 05:57:31 +00:00
notifyd_entry.c s3:notifyd: Use a watcher per db record 2024-10-01 14:22:43 +00:00
notifyd_private.h s3:notifyd: Use a watcher per db record 2024-10-01 14:22:43 +00:00
notifyd.c s3:notifyd: Use a watcher per db record 2024-10-01 14:22:43 +00:00
notifyd.h notifyd: Factor out notify_walk() into its own file 2020-10-24 05:57:31 +00:00
notifydd.c s3:notifyd: Use lpcfg_set_cmdline() 2023-09-14 21:35:29 +00:00
test_notifyd.c test: Check that notifyd messages actually change the database 2020-10-24 07:20:17 +00:00
tests.c
wscript_build test: Check that notifyd messages actually change the database 2020-10-24 07:20:17 +00:00