summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-04-17s3: Add a second ctdb connect libraryVolker Lendecke2-0/+678
The existing one is not async at all.
2012-04-17s3: Add dbwrap_try_fetch_lockedVolker Lendecke8-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-17s3: Add dbwrap_cacheVolker Lendecke2-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-17s3: Open up 3 levels of dbwrap_lock_orderVolker Lendecke2-5/+9
2012-04-17s3: Add infrastructure for background jobsVolker Lendecke2-0/+272
2012-04-17s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke2-12/+0
All callers had that fallback
2012-04-09s3: Fix the pthreadpool build on OS/XVolker Lendecke1-0/+1
OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
2012-04-07s3: Compile fix for dbwrap_file.cVolker Lendecke1-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-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett5-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-05s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett1-37/+0
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett1-64/+0
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett1-29/+0
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett1-51/+0
2012-04-05build: Remove SMB_F* locking definesAndrew Bartlett2-3/+3
2012-04-05build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett1-1/+1
2012-04-05build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2-2/+2
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett1-2/+2
2012-04-05build: Remove sys_rewinddir wrapperAndrew Bartlett1-8/+0
2012-04-05build: Remove sys_closedir wrapperAndrew Bartlett1-10/+0
2012-04-05build: Remove sys_telldir wrapperAndrew Bartlett1-9/+0
2012-04-05build: Remove sys_seekdir wrapperAndrew Bartlett1-9/+0
2012-04-05build: Remove sys_readdir wrapperAndrew Bartlett2-10/+1
2012-04-05build: Remove sys_opendir wrapperAndrew Bartlett1-9/+0
2012-04-05build: Remove sys_fopen wrapperAndrew Bartlett2-11/+1
2012-04-05build: Remove sys_open wrapperAndrew Bartlett3-12/+3
2012-04-05build: Remove sys_creat wrapperAndrew Bartlett1-9/+0
2012-04-05build: Remove fallback call to sys_open as HAVE_CREAT is not actually ↵Andrew Bartlett1-8/+0
checked for
2012-04-05build: Remove sys_ftell wrapperAndrew Bartlett1-9/+0
2012-04-05build: Remove sys_lseek wrapperAndrew Bartlett5-14/+5
2012-04-05build: Remove sys_ftruncate wrapperAndrew Bartlett2-11/+2
2012-04-05build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any moreAndrew Bartlett2-155/+44
2012-04-03s3: Enhance the dbwrap needed x attempts msgVolker Lendecke1-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-03s3-smbd: Inline init_modules() into only callerAndrew Bartlett1-9/+0
2012-03-30s3: Avoid a crash with debug level 10Volker Lendecke1-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-29s3: Fix a valgrind errorVolker Lendecke1-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-24use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij1-34/+0
usleep moving to libreplace.
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij9-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-24adt_tree: Fix return types.Jelmer Vernooij1-3/+3
2012-03-24adt_tree: Avoid WERROR.Jelmer Vernooij1-3/+3
2012-03-24util_malloc: Remove unused constant.Jelmer Vernooij1-3/+0
2012-03-24lib/util: Remove dummy wrapper for getgrnam().Jelmer Vernooij2-2/+2
2012-03-24lib/util: Remove dummy wrapper for getpwnam().Jelmer Vernooij1-2/+2
2012-03-24lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.Jelmer Vernooij1-1/+1
2012-03-24lib/util: Move calloc_array and memalign_array to top-level libutil.Jelmer Vernooij1-32/+0
2012-03-24sock_exec: Avoid sys_connect.Jelmer Vernooij1-2/+2
2012-03-24util_sock: Avoid sys_connect.Jelmer Vernooij1-7/+13
2012-03-24ctdb_conn: Avoid sys_connect.Jelmer Vernooij1-1/+3
2012-03-24replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij1-1/+1
2012-03-20libndr: Rename policy_handle_equal to ndr_policy_handle_equal.Jelmer Vernooij1-3/+3
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-16s3-dbwrap: Move "lock_order" initialization to db_open_xxVolker Lendecke4-6/+8