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>
Wed, 10 Mar 2010 12:21:43 +0000 (13:21 +0100)
commit34ee5caaf2c69da2815ec4be01df463599a59b00
tree4370c539c928da9fdd26d7b553e05d053727798a
parent359b9b6de5c555b93f5893df8f5df00e44045dfd
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.

Signed-off-by: Michael Adam <obnox@samba.org>
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