1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Volker Lendecke
32a36e4703 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.
2009-04-16 15:07:06 +02:00
Steven Danneman
b329ea1cf3 s3: Modifications to generic notify structures to allow implementation of OneFS notify.
The OneFS kernel based change notify system takes an fd of the directory
to watch in it's initialization syscall.  Since we already have this
directory open, this commit plumbs that fd down to the VFS layer via the
notify_entry struct.

We also need to know if the watch is taken out on a snapshot directory.
The full file_id struct is also passed down to make this determination.
The file_id marshalling wrappers are hand written here, but should
eventually be auto-generated by moving the struct file_id into the idl.
2009-02-20 14:10:30 -08:00
Jelmer Vernooij
b2a01ef5dd Consider shared IDL files and Samba3-specific IDL files separately, allow overriding output directory. 2008-12-16 15:42:47 +01:00
Günther Deschner
d9070ab7bc s3-build: add regenerated files.
Guenther
2008-10-15 11:28:55 +02:00
Jelmer Vernooij
5975cbc260 Sync addition of [todo] attribute to Samba 3. 2008-09-17 15:07:24 +02:00
Jelmer Vernooij
4003edf0df r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.
(This used to be commit b84370513f)
2007-10-10 12:18:00 -05:00
Volker Lendecke
8bfa935161 r21074: Preparation for the import of samba4 notify: Add the file notify.idl and the
resulting marshalling/unmarshalling routines in gen_ndr/

Volker
(This used to be commit a2ea54c234)
2007-10-10 12:17:33 -05:00