1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/ctdb/server
Amitay Isaacs f99a759ce7 ctdb-locking: Instead of comparing key, compare key hash
This replaces memory comparison of the key with integer comparison.
In addition, this also avoids scheduling locks with the same hash.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Mar 28 05:28:58 CET 2014 on sn-devel-104
2014-03-28 05:28:58 +01:00
..
ctdb_banning.c ctdb-server: Coverity fixes 2013-11-19 17:13:03 +01:00
ctdb_call.c ctdbd: Remove transaction code related to TRANS2 commits 2013-10-04 15:20:25 +10:00
ctdb_control.c ctdb/daemon: Make delete IP wait until the IP is released 2014-03-23 04:20:15 +01:00
ctdb_daemon.c ctdb/daemon: Untangle serialisation of 1st recovery -> startup -> monitor 2014-01-17 17:59:41 +11:00
ctdb_event_helper.c ctdb-daemon: Return negative status only if there are known errors 2014-01-31 15:57:49 +11:00
ctdb_freeze.c freeze: Make ctdb_start_freeze() a void function 2013-07-02 12:59:08 +10:00
ctdb_keepalive.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_lock_helper.c locking: Add a standalone helper to lock record/db 2013-05-24 09:06:39 +10:00
ctdb_lock.c ctdb-locking: Instead of comparing key, compare key hash 2014-03-28 05:28:58 +01:00
ctdb_logging.c ctdb-daemon: Remove ctdb_fork_with_logging() 2014-01-16 04:05:35 +01:00
ctdb_ltdb_server.c ctdbd: Remove duplicate database directory setting logic 2013-10-25 12:06:06 +11:00
ctdb_monitor.c ctdb/daemon: Untangle serialisation of 1st recovery -> startup -> monitor 2014-01-17 17:59:41 +11:00
ctdb_persistent.c ctdbd: Remove transaction code related to TRANS2 commits 2013-10-04 15:20:25 +10:00
ctdb_recover.c ctdb-daemon: No need to call event scripts with CTDB_CALLED_BY_USER 2014-01-16 11:41:12 +11:00
ctdb_recoverd.c ctdb/recoverd: Do not refuse disabling takeover runs on inactive nodes 2014-01-17 17:59:19 +11:00
ctdb_server.c ctdbd: When a node is connected, log at DEBUG NOTICE not DEBUG_INFO 2013-10-29 17:14:56 +11:00
ctdb_serverids.c RB_TREE: Add mechanism to abort a traverse 2011-11-08 13:40:28 +11:00
ctdb_statistics.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_takeover.c ctdb/daemon: Optimise deletion of IPs 2014-03-23 06:20:43 +01:00
ctdb_traverse.c traverse: Send traverse end record from traverse child process 2013-09-25 14:59:45 +10:00
ctdb_tunables.c tunables: Remove obsolete tunables 2013-10-30 15:37:11 +11:00
ctdb_update_record.c ctdbd: Set process names for child processes 2013-07-10 14:33:19 +10:00
ctdb_uptime.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_vacuum.c ctdb-vacuum: fix delete list counts in delete_marshall_traverse_first 2014-03-06 03:32:33 +01:00
ctdbd.c packaging: Move ctdb/ directory from /var to /var/lib 2013-10-25 12:06:07 +11:00
eventscript.c ctdb-daemon: Do not disable monitoring when running eventscripts 2014-03-23 04:20:14 +01:00