ctdb: cluster mutex helper using Ceph RADOS
authorDavid Disseldorp <ddiss@samba.org>
Thu, 1 Dec 2016 12:33:22 +0000 (13:33 +0100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 9 Dec 2016 03:10:20 +0000 (04:10 +0100)
commitd8b61863ece6c5c231ac3e5b783c725864cfdad0
treefc68e8c35c89966c988cd397544f499154b2de60
parentcbc81dd78e4fe3c54e5930db0d1b89d1cdca367d
ctdb: cluster mutex helper using Ceph RADOS

ctdb_mutex_ceph_rados_helper implements the cluster mutex helper API
atop Ceph using the librados rados_lock_exclusive()/rados_unlock()
functionality.

Once configured, split brain avoidance during CTDB recovery will be
handled using locks against an object located in a Ceph RADOS pool.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/utils/ceph/ctdb_mutex_ceph_rados_helper.c [new file with mode: 0644]
ctdb/wscript