1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/ctdb/include
Amitay Isaacs 88f6a6c188 ctdb-locking: Add per database queues for pending and active lock requests
This avoids traversing a single pending queue which is quite expensive
when there are lots of pending lock requests.  This seems to happen
quite a lot on a loaded cluster for notify_index.tdb.

Adding per database queues avoids the need to traverse pending queue
for that database if there are already the maximum number of active
lock requests.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Aug  4 20:23:45 CEST 2014 on sn-devel-104
2014-08-04 20:23:45 +02:00
..
internal ctdb:includes: add #ifdef guard for ZERO_STRUCT 2014-06-20 23:38:10 +02:00
ctdb_client.h ctdb-client: Add client code to detach a database 2014-04-14 03:52:39 +02:00
ctdb_private.h ctdb-locking: Add per database queues for pending and active lock requests 2014-08-04 20:23:45 +02:00
ctdb_protocol.h ctdb-recoverd: Detach database from recovery daemon 2014-04-23 17:05:45 +02:00
ctdb_typesafe_cb.h rename ccan/typesafe_cb.h to ctdb_typesafe_cb.h and 2010-06-02 09:18:48 +10:00
ctdb.h libctdb: add ctdb_getcapabilities() 2012-09-28 17:05:34 +10:00