Add notify_onelevel.tdb
authorVolker Lendecke <vl@samba.org>
Tue, 14 Apr 2009 18:39:14 +0000 (20:39 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 28 Jul 2009 13:12:44 +0000 (15:12 +0200)
commitc500507e5e558c11d354f807a7031c675b8a977c
tree755beedc62b65cf39f24da9026969fe99934aaf5
parent66f0303708ab953185368b936cd0b160154cd9a4
Add notify_onelevel.tdb

This optimizes non-recursive notifys. For non-recursive notifies we can use a
per-directory file-id indexed notify record. This matters for the Windows
Explorer and IIS cases which do not use recursive notifies. In these cases, we
do not have to shuffle around the whole notify record on every change.

For the cluster case, this improves correctness of the notifies, ctdb only
distributes the tdb seqnum once a second, so we can lose notifies.
source/librpc/gen_ndr/ndr_notify.c
source/librpc/gen_ndr/ndr_notify.h
source/librpc/gen_ndr/notify.h
source/librpc/idl/notify.idl
source/smbd/files.c
source/smbd/notify.c
source/smbd/notify_internal.c