ctdb-locking: Add DB lock requests to head of the pending queue
authorAmitay Isaacs <amitay@gmail.com>
Tue, 15 Jul 2014 04:13:25 +0000 (14:13 +1000)
committerVolker Lendecke <vl@samba.org>
Mon, 4 Aug 2014 15:59:52 +0000 (17:59 +0200)
commit7189437be447d33038eb26bca055b1025cebacd3
treec3a655f2aa9b6cc0a888e1c4e11c646c689a16bf
parent3aa96c3a3eb87fc6a1ad94c983e363b402b48ff5
ctdb-locking: Add DB lock requests to head of the pending queue

This allows to schedule DB locks quickly without having to scan through
the pending lock requests.

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