[PATCH] Ceph RADOS cluster mutex helper for Samba CTDB
amitay at gmail.com
Tue Dec 6 07:58:41 UTC 2016
On Fri, Dec 2, 2016 at 1:17 AM, David Disseldorp <ddiss at suse.de> wrote:
> 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
> 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.
This code does not belong in ctdb/tools. You can move it to an appropriate
directory in ctdb/utils.
Please include the test code also as part of the commit. Someone with
ceph-rados setup should be able to run this test.
I would appreciate if you can add few comments in the test script
describing the requirements and how to run the test.
More information about the samba-technical