Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-31 | tdb/waf: the deps for rt are provided by libreplace | Björn Jacke | 1 | -1/+1 | |
2010-08-22 | Use DocBook DTD rather than Samba one, as no Samba-specific things are | Jelmer Vernooij | 3 | -3/+3 | |
used in the tdb manpages. | |||||
2010-08-14 | tdb: workaround starvation problem in locking entire database. | Rusty Russell | 4 | -19/+131 | |
We saw tdb_lockall() take 71 seconds under heavy load; this is because Linux (at least) doesn't prevent new small locks being obtained while we're waiting for a big log. The workaround is to do divide and conquer using non-blocking chainlocks: if we get down to a single chain we block. Using a simple test program where children did "hold lock for 100ms, sleep for 1 second" the time to do tdb_lockall() dropped signifiantly. There are ln(hashsize) locks taken in the contended case, but that's slow anyway. More analysis is given in my blog at http://rusty.ozlabs.org/?p=120 This may also help transactions, though in that case it's the initial read lock which uses this gradual locking routine; the update-to-write-lock code is separate and still tries to update in one go. Even though ABI doesn't change, minor version bumped so behavior change can be easily detected. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-08-13 | tdb: add TDB_DEPS variable filled with required libraries | Björn Jacke | 3 | -7/+14 | |
This is required for Solaris, which needs to link in librt to make use of fdatasync(). | |||||
2010-07-29 | Fix tdb_check() to work with read-only tdb databases. The function ↵ | Jeremy Allison | 1 | -3/+3 | |
tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead. Jeremy. | |||||
2010-07-01 | tdb: fix the build on mac os x 10.6.4. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2010-06-24 | s4-ldb: use CHECK_XSLTPROC_MANPAGES() | Andrew Tridgell | 1 | -2/+1 | |
2010-06-19 | pytdb: Cleanup formatting. | Jelmer Vernooij | 1 | -3/+8 | |
2010-06-19 | wafsamba: Fix typo: noextenion -> noextension. | Jelmer Vernooij | 1 | -1/+1 | |
2010-05-31 | tdb-waf: Don't install binaries when using system tdb. | Jelmer Vernooij | 1 | -17/+17 | |
2010-05-31 | tdb-waf: Simplify manpage handling. | Jelmer Vernooij | 1 | -17/+4 | |
2010-05-31 | s4-waf: sanitize library names like the old build system did, only add | Jelmer Vernooij | 1 | -1/+1 | |
-samba4 suffix for libraries that are bundled. | |||||
2010-05-11 | tdb: commit ABI/tdb-1.2.2.sigs | Stefan Metzmacher | 1 | -0/+60 | |
metze | |||||
2010-05-11 | tdb: remove unused variable in tdb_new_database(). | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-05-05 | tdb: fix short write logic in tdb_new_database | Rusty Russell | 3 | -17/+17 | |
Commit 207a213c/24fed55d purported to fix the problem of signals during tdb_new_database (which could cause a spurious short write, hence a failure). However, the code is wrong: newdb+written is not correct. Fix this by introducing a general tdb_write_all() and using it here and in the tracing code. Cc: Stefan Metzmacher <metze@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2010-04-21 | build: make python development headers not mandatory in standalone libs | Andrew Tridgell | 1 | -1/+1 | |
This needed an update to the python tool in waf thanks to Kai for spotting this | |||||
2010-04-20 | tdb: update tdb ABI to use hide_symbols=True | Andrew Tridgell | 5 | -78/+67 | |
We now use -fvisibilty=hidden to hide symbols from outside the tdb shared library. This also moved tdb_transaction_recover() into the tdb_private.h header, as it should never have been a public API. For that reason we are changing the version number. We're only doing a minor version increment as it is extremely unlikely that anyone was actually using tdb_transaction_recover() as its locking requirements were rather unusual. Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-18 | s4-waf: rebuild signature files with the api type maps | Andrew Tridgell | 1 | -5/+5 | |
This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names | |||||
2010-04-18 | tdb-waf: added ABI checking for tdb | Andrew Tridgell | 2 | -0/+97 | |
2010-04-13 | s4-waf: don't try to use the system lib for the library build | Andrew Tridgell | 1 | -5/+6 | |
when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-13 | tdb-waf: added build of manpages and config options for RPM build | Andrew Tridgell | 1 | -3/+44 | |
Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-12 | build: use a common autogen-waf.sh for all builds | Andrew Tridgell | 1 | -22/+1 | |
the symlink will get updated with the right target when waf dist is used in each directory | |||||
2010-04-11 | subunit: Support formatting compatible with upstream subunit, for consistency. | Jelmer Vernooij | 1 | -1/+1 | |
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit. | |||||
2010-04-06 | s4-waf: fixed waf distcheck for our standalone libs and s4 | Andrew Tridgell | 1 | -0/+4 | |
2010-04-06 | s4-waf: added simple 'waf test' support for tdb, talloc and ldb | Andrew Tridgell | 1 | -0/+6 | |
2010-04-06 | s4-waf: autogen-waf.sh for the standalone library builds | Andrew Tridgell | 1 | -0/+22 | |
2010-04-06 | s4-waf: use a common pattern for finding buildtools and libs | Andrew Tridgell | 1 | -11/+7 | |
2010-04-06 | s4-waf: move to a universal method of recursing into subdirs | Andrew Tridgell | 1 | -3/+3 | |
This works with both standalone lib builds and bundled builds | |||||
2010-04-06 | s4-waf: fixed finding of buildtools and srcdir | Andrew Tridgell | 1 | -7/+6 | |
2010-04-06 | s4-waf: avoid having to run waf configure before waf dist | Andrew Tridgell | 1 | -2/+3 | |
This should be useful for building tarballs from a clean checkout | |||||
2010-04-06 | s4-waf: allow standalone tarball build of libraries | Andrew Tridgell | 1 | -2/+9 | |
2010-04-06 | s4-waf: added 'waf dist' to our standalone libs as well | Andrew Tridgell | 1 | -1/+3 | |
2010-04-06 | s4-waf: added implied_deps for system libraries | Andrew Tridgell | 1 | -1/+2 | |
when we use a system version of a library such as talloc, then we no longer get the automtica dependency propogation of talloc implying libreplace. That means we don't get the includes for libreplace, which means things can fail to build. To fix this this change adds an implied_deps option to CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an implied dependency on the listed targets if the system library is chosen. | |||||
2010-04-06 | s4-waf: support the use of system libraries | Andrew Tridgell | 1 | -5/+10 | |
distros can set --bundled-libraries=NONE to force use of all system libraries. If the right version isn't found then configure will fail. Users may choose which libraries to use from the system, and which to use bundled libs. The default is to try system libs, and use them if their version matches the one in the source tree. | |||||
2010-04-06 | s4-waf: set default for bundled libraries | Andrew Tridgell | 1 | -1/+2 | |
2010-04-06 | s4-waf: set the bundled library extension for some libs | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | s4-waf: fdatasync is in librt on solaris8 | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: only enable pytdb on s4 build | Andrew Tridgell | 1 | -0/+3 | |
2010-04-06 | build: enable pytdb | Andrew Tridgell | 1 | -0/+6 | |
2010-04-06 | build: result of hack session with ita | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: started to split up wafsamba.py into separate modules | Andrew Tridgell | 1 | -0/+5 | |
2010-04-06 | build: added BUILD_SUBDIR() wrapper | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: added ADD_CFLAGS() and started of Samba4 build | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: tdb does not depend on talloc | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: added waf build rules for ldb | Andrew Tridgell | 1 | -3/+3 | |
2010-04-06 | build: neater way to find libreplace and start on tevent waf build | Andrew Tridgell | 1 | -9/+16 | |
2010-04-06 | build: more binaries for waf tdb build | Andrew Tridgell | 1 | -0/+12 | |
2010-04-06 | build: added waf build for tdb | Andrew Tridgell | 1 | -0/+24 | |
2010-03-26 | tdb: update exports and signatures files | Simo Sorce | 2 | -0/+2 | |