1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

27 Commits

Author SHA1 Message Date
Volker Lendecke
a80732cf00 r20983: Two no-mem error returns
(This used to be commit 79a0cd3a1bbd3d4ef0c335f398fa8bb8e82c8624)
2007-10-10 14:44:17 -05:00
Volker Lendecke
67f494d72a r20972: "private" -> "private_data"
(This used to be commit 8cbcd3d1cbb0661b1767bb7ace0804cf9a573e34)
2007-10-10 14:44:05 -05:00
Andrew Tridgell
2ad79af331 r20920: use cluster_tdb_tmp_open() in ntvfs backend code
(This used to be commit c9080c54872f107d1e42e77261df50a5d55d294f)
2007-10-10 14:43:52 -05:00
Stefan Metzmacher
f40182cb12 r20897: fix compiler warnings
metze
(This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)
2007-10-10 14:43:48 -05:00
Volker Lendecke
98ac70b6a3 r20653: If this is the wrong way to fix the build, I apologize. But these includes are
necessary in my environment to get through make.

Volker
(This used to be commit 47e80da39f27a7e7aa6f85d6333f2d1772292ec9)
2007-10-10 14:37:27 -05:00
Andrew Tridgell
1cd4339b9a r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
(This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10 14:37:23 -05:00
Andrew Tridgell
af870da619 r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
(This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10 14:21:30 -05:00
Jelmer Vernooij
0329d755a7 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
(This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10 14:16:54 -05:00
Simo Sorce
9c66f601f1 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
(This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10 14:10:18 -05:00
Andrew Tridgell
971d30bb20 r15854: more talloc_set_destructor() typesafe fixes
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10 14:08:32 -05:00
Andrew Tridgell
225d6485eb r15797: fixed a notify bug, where a notify_remove() is beyond the current max
depth
(This used to be commit 2ebcfcc6dadd4a420431c733bb12fe7719057fd6)
2007-10-10 14:08:21 -05:00
Stefan Metzmacher
2e894625e7 r14964: - move sidmap code from ntvfs_common to SAMDB
- make ntvfs_common a library
- create sys_notify library

metze
(This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)
2007-10-10 14:00:47 -05:00
Andrew Tridgell
26c9cd6211 r14960: don't declare variables mid-function
(This used to be commit 4537de9289ce025a240fe46a708434c195138d20)
2007-10-10 14:00:46 -05:00
Andrew Tridgell
cd794e79f9 r14959: allow change notify to be disabled completely using
notify:enable=False
(This used to be commit 2a8f093105f3047a3697f29aadcc9c48c6ac88e1)
2007-10-10 14:00:46 -05:00
Andrew Tridgell
127967334f r14956: change the notify search to be much more efficient by using a
per-depth bisection search. This makes the notify_trigger() call
log(N) which makes us scale well for large numbers of outstanding
notifies
(This used to be commit 16fd00925fdbf77e7a403ad501bf6ea429404c76)
2007-10-10 14:00:45 -05:00
Stefan Metzmacher
317c4b81a5 r14951: - remove unused var 'path'
- fix compiler warning

metze
(This used to be commit 4d7de8b251e006a469adf2793dae422e128844c5)
2007-10-10 14:00:22 -05:00
Andrew Tridgell
fa91368fb4 r14945: allow the notify backend to be specified per share
(This used to be commit 467027e7730a3bc56f152df7e2ec272905e19584)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
416d7b4210 r14920: allow a notify backend to separately specify if it has handled the
given mask for the current directory and sub-directories. This allows
us to setup the less efficient internal handling for subdirectories,
while using the kernel inotify service for the current directory if
available. It also allows inotify to handle only some of the filter
bits, leaving the other filter bits for the user space handler.
(This used to be commit 7c3d989fa44c7f57853a825337159f476d7dff80)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
a9cb173f76 r14918: cleaner handling of systems without inotify
(This used to be commit cf17ff15b15942f0ce068dd0a94b3b565a9b93cb)
2007-10-10 14:00:16 -05:00
Andrew Tridgell
6d98076c15 r14877: added support for the kernel inotify mechanism. This passes basic
tests, but still needs some more work to ensure we correctly cope with
events that may generate both a system inotify event and a internal
notify event. The system inotify events won't handle recursion, and
don't understand things like streams.

This also adds the ntvfs/sysdep/ directory, which is meant for system
dependent code that is not tied to a particular ntvfs backend. The
inotify code is a good example of that.
(This used to be commit eadadbb44adb3c4081d6ff1d85a9b850a0227059)
2007-10-10 14:00:11 -05:00
Andrew Tridgell
6942d1d62c r14805: use tdb_lock_bystring() to prevent race conditions in notify add/remove
(This used to be commit a6be44f78ca2eaecbf0b6d8598addba5a11ae966)
2007-10-10 13:59:21 -05:00
Andrew Tridgell
aec7f3ae72 r14803: copy with the root directory, which has /. on the end of the path
(This used to be commit 16742cd28621d205f21c855e5635be1dfc3f2b69)
2007-10-10 13:59:21 -05:00
Andrew Tridgell
24bacd1113 r14800: use tdb_get_seqnum() in the change notify code to avoid reloading the
notify record if the tdb has not changed. This makes the
notify_trigger() call much faster, which is important as it is called
on just about every file operation
(This used to be commit d09b8761bfda7dfbb4c7a5c4a4f4359ba01923a3)
2007-10-10 13:59:20 -05:00
Andrew Tridgell
ed3fc62871 r14797: added checking of the filter in notify requests
(This used to be commit 1db0a5a7f4c1ff915d91bc15d8e40cc90a78961d)
2007-10-10 13:59:20 -05:00
Andrew Tridgell
57bde8631f r14755: the change notify code now passes most of the RAW-NOTIFY test. Still
more work to do though
(This used to be commit 4d234b37e528137b5c00f6bbb84c2d6939fea324)
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
ad06a8bd65 r14736: - the ntvfs subsystem should not know about smb_server.h
- the process module subsystem should not know about smb_server.h
- the smb_server module should not know about process models

metze
(This used to be commit bac95bb8f4ad35a31ee666f5916ff9b2f292d964)
2007-10-10 13:59:17 -05:00
Andrew Tridgell
3434cd778c r14616: added notify change support to the posix backend
It doesn't fully work yet, and doesn't yet have all the efficiency
that is planned, but it doesn't break anything and I wanted to get the
code in the tree to minimise the chance of collisions with the work
metze is doing.
(This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9)
2007-10-10 13:59:02 -05:00