summaryrefslogtreecommitdiff
path: root/ctdb/config.mk
Commit message (Collapse)AuthorAgeFilesLines
* ctdb-build: Remove autoconf build filesAmitay Isaacs2014-06-201-18/+0
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* minor back-merge from samba4Andrew Tridgell2007-07-101-16/+4
| | | | (This used to be ctdb commit c591f9b2d2847f440702e7264c7da2fd6d69f4be)
* merge fixes from samba4Andrew Tridgell2007-04-211-2/+2
| | | | (This used to be ctdb commit 23d892c2696c5c1dd9f12f1ccd1acfa264be4fb6)
* this is a demonstration of an idea for handling locks in ctdb.Andrew Tridgell2007-04-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The problem we have is this: - we want the client smbd processes to be able to 'shortcut' access to the ltdb, by directly accessing the ltdb, and if the header of the record shows we are the dmaster then process immediately, with no overhead of talking across the unix domain socket - a client doing a shortcut will use tdb_chainlock() to lock the record while processing - we want the main ctdb daemon to be able to set locks on the record, and when those locks collide with a 'shortcut' fcntl lock, we want the ctdb daemon to keep processing other operations - we don't want to have to send a message from a smbd client to the ctdbd each time it releases a lock The solution is shown in this example. Note that the expensive fork() and blocking lock is only paid in case of contention, so in the median case I think this is zero cost. (This used to be ctdb commit a3248c3e2b740cd2403acffd3c1f6a33dca0ea03)
* merged from samba4Andrew Tridgell2007-04-161-0/+29
(This used to be ctdb commit 541814e6ee3dd7f8f1b3fb615213ff5979b6e22f)