Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-18 | lib/util: Move map_nt_error_from_tdb to the top level | Andrew Bartlett | 1 | -58/+0 | |
This will help with making dbwrap available as a top level library. Andrew Bartlett | |||||
2012-04-18 | s3-dbwrap: push lp_ctx up another layer in the stack | Andrew Bartlett | 3 | -5/+6 | |
This will allow db_open_tdb() to be called from common code, which may already have a loadparm context loaded. It also slowly moves the lp_ctx up the stack, as required to remove the library loop between smbconf and the registry. Andrew Bartlett | |||||
2012-04-18 | s3-dbwrap: Add talloc_stackframe() calls | Andrew Bartlett | 1 | -5/+21 | |
This is in preperation for calling dbwrap from common code, where we may not have a stackframe set up. Andrew Bartlett | |||||
2012-04-17 | s3: Make ctdbd_messaging_send_blob available in non-clustered mode | Volker Lendecke | 1 | -1/+10 | |
This will avoid the need for some #ifdefs | |||||
2012-04-17 | s3: Make messaging_ctdbd_connection available in non-clustered mode | Volker Lendecke | 1 | -0/+9 | |
This might make some #ifdef CLUSTER_SUPPORT unnecessary in the future | |||||
2012-04-17 | s3: Implement tevent_barrier | Volker Lendecke | 2 | -0/+234 | |
This will help notify torture tests: A tevent barrier can be waited on with tevent_barrier_wait_send/recv. The barrier is initialized with a number of requests that it will accept waiting. When that number is reached, all those requests will be released and their callback will be called. The barrier will be free for re-use again. | |||||
2012-04-17 | s3: Introduce ctdb_messaging_send_blob | Volker Lendecke | 1 | -20/+20 | |
Send a raw blob without the messaging.idl wrap | |||||
2012-04-17 | s3: Add msg_channel | Volker Lendecke | 2 | -0/+414 | |
This is a tevent_based variant of messaging_register | |||||
2012-04-17 | s3: Add messaging_tdb_event() | Volker Lendecke | 1 | -0/+10 | |
This is a void* that represents a signal handler attached to some custom tevent_context. This is necessary to make the tdb based messaging infrastructure trigger its business when we are sitting in tevent_loop_once for an event context that is not the main one in the messaging context. | |||||
2012-04-17 | s3: Add a second ctdb connect library | Volker Lendecke | 2 | -0/+678 | |
The existing one is not async at all. | |||||
2012-04-17 | s3: Add dbwrap_try_fetch_locked | Volker Lendecke | 8 | -16/+97 | |
This is designed to spread the load on individual ctdb records to allow upper layers to do backoff mechanisms. In the ctdb case, do not get the record if a local lock is already taken. If we are not dmaster, do at most one migrate attempt. For the tdb case, this is a nonblocking fetch_locked. If someone else has the lock, give up. | |||||
2012-04-17 | s3: Add dbwrap_cache | Volker Lendecke | 2 | -0/+242 | |
This is a caching layer for the notify database and potentially for the brlock database. It caches the parse_record operation as long as the underlying seqnum does not change. | |||||
2012-04-17 | s3: Open up 3 levels of dbwrap_lock_order | Volker Lendecke | 2 | -5/+9 | |
2012-04-17 | s3: Add infrastructure for background jobs | Volker Lendecke | 2 | -0/+272 | |
2012-04-17 | s3: Return CTDB_PATH from lp_ctdbd_socket() | Volker Lendecke | 2 | -12/+0 | |
All callers had that fallback | |||||
2012-04-09 | s3: Fix the pthreadpool build on OS/X | Volker Lendecke | 1 | -0/+1 | |
OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro | |||||
2012-04-07 | s3: Compile fix for dbwrap_file.c | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 7 14:10:35 CEST 2012 on sn-devel-104 | |||||
2012-04-06 | build: Remove SMB_OFF_T, replace with off_t | Andrew Bartlett | 5 | -23/+23 | |
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104 | |||||
2012-04-05 | s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -37/+0 | |
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett | |||||
2012-04-05 | s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -64/+0 | |
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett | |||||
2012-04-05 | s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -29/+0 | |
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett | |||||
2012-04-05 | s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure | Andrew Bartlett | 1 | -51/+0 | |
2012-04-05 | build: Remove SMB_F* locking defines | Andrew Bartlett | 2 | -3/+3 | |
2012-04-05 | build: Remove SMB_STRUCT_FLOCK define | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: Remove SMB_STRUCT_DIR define | Andrew Bartlett | 2 | -2/+2 | |
2012-04-05 | build: Remove SMB_STRUCT_DIRENT define | Andrew Bartlett | 1 | -2/+2 | |
2012-04-05 | build: Remove sys_rewinddir wrapper | Andrew Bartlett | 1 | -8/+0 | |
2012-04-05 | build: Remove sys_closedir wrapper | Andrew Bartlett | 1 | -10/+0 | |
2012-04-05 | build: Remove sys_telldir wrapper | Andrew Bartlett | 1 | -9/+0 | |
2012-04-05 | build: Remove sys_seekdir wrapper | Andrew Bartlett | 1 | -9/+0 | |
2012-04-05 | build: Remove sys_readdir wrapper | Andrew Bartlett | 2 | -10/+1 | |
2012-04-05 | build: Remove sys_opendir wrapper | Andrew Bartlett | 1 | -9/+0 | |
2012-04-05 | build: Remove sys_fopen wrapper | Andrew Bartlett | 2 | -11/+1 | |
2012-04-05 | build: Remove sys_open wrapper | Andrew Bartlett | 3 | -12/+3 | |
2012-04-05 | build: Remove sys_creat wrapper | Andrew Bartlett | 1 | -9/+0 | |
2012-04-05 | build: Remove fallback call to sys_open as HAVE_CREAT is not actually ↵ | Andrew Bartlett | 1 | -8/+0 | |
checked for | |||||
2012-04-05 | build: Remove sys_ftell wrapper | Andrew Bartlett | 1 | -9/+0 | |
2012-04-05 | build: Remove sys_lseek wrapper | Andrew Bartlett | 5 | -14/+5 | |
2012-04-05 | build: Remove sys_ftruncate wrapper | Andrew Bartlett | 2 | -11/+2 | |
2012-04-05 | build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any more | Andrew Bartlett | 2 | -155/+44 | |
2012-04-03 | s3: Enhance the dbwrap needed x attempts msg | Volker Lendecke | 1 | -1/+5 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 3 15:17:11 CEST 2012 on sn-devel-104 | |||||
2012-04-03 | s3-smbd: Inline init_modules() into only caller | Andrew Bartlett | 1 | -9/+0 | |
2012-03-30 | s3: Avoid a crash with debug level 10 | Volker Lendecke | 1 | -1/+2 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 30 16:52:16 CEST 2012 on sn-devel-104 | |||||
2012-03-29 | s3: Fix a valgrind error | Volker Lendecke | 1 | -1/+8 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 29 15:50:13 CEST 2012 on sn-devel-104 | |||||
2012-03-24 | use usleep rather than sys_usleep in various places, in anticipation of ↵ | Jelmer Vernooij | 1 | -34/+0 | |
usleep moving to libreplace. | |||||
2012-03-24 | lib/util: Remove obsolete sys_getpid() and sys_fork(). | Jelmer Vernooij | 9 | -16/+16 | |
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104 | |||||
2012-03-24 | adt_tree: Fix return types. | Jelmer Vernooij | 1 | -3/+3 | |
2012-03-24 | adt_tree: Avoid WERROR. | Jelmer Vernooij | 1 | -3/+3 | |
2012-03-24 | util_malloc: Remove unused constant. | Jelmer Vernooij | 1 | -3/+0 | |
2012-03-24 | lib/util: Remove dummy wrapper for getgrnam(). | Jelmer Vernooij | 2 | -2/+2 | |