Add notify_onelevel.tdb
commit32a36e470333abae2745e27074a24ab54777b41e
authorVolker Lendecke <vl@samba.org>
Tue, 14 Apr 2009 18:39:14 +0000 (14 20:39 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 16 Apr 2009 13:07:06 +0000 (16 15:07 +0200)
tree48c56c9ea94b63dd69b19d0ce348dda4a0bb679c
parentea3a022ca3ed97f0ac3f16536832e8ec43683f8c
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.
source3/include/proto.h
source3/librpc/gen_ndr/ndr_notify.c
source3/librpc/gen_ndr/ndr_notify.h
source3/librpc/gen_ndr/notify.h
source3/librpc/idl/notify.idl
source3/smbd/files.c
source3/smbd/notify.c
source3/smbd/notify_internal.c