[PATCH] Ceph RADOS cluster mutex helper for Samba CTDB
David Disseldorp
ddiss at suse.de
Thu Dec 1 14:17:15 UTC 2016
Hi,
The attached patch-set implements a cluster mutex helper for Samba CTDB
using Ceph librados.
ctdb_mutex_ceph_rados_helper_lock can be used as a recovery lock provider
for CTDB. When configured, split brain avoidance during CTDB recovery
will be handled using locks against an object located in a Ceph RADOS
pool.
I've also attached a standalone test script - @Martin: does this belong
in the ctdb test suite, or can I just commit it as a standalone test?
It has a few non-standard dependencies: a running Ceph cluster, the
rados and jq binaries.
Feedback appreciated.
Cheers, David
--
ctdb/doc/Makefile | 3 +-
ctdb/doc/ctdb_mutex_ceph_rados_helper.7.xml | 90 ++++++
ctdb/tools/ctdb_mutex_ceph_rados_helper.c | 334 ++++++++++++++++++++
ctdb/wscript | 19 ++
4 files changed, 445 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb_reclock_ceph.patchset
Type: text/x-patch
Size: 17146 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161201/ebc4d52e/ctdb_reclock_ceph.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_ceph_rados_reclock.sh
Type: application/x-shellscript
Size: 4245 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161201/ebc4d52e/test_ceph_rados_reclock.bin>
More information about the samba-technical
mailing list