[Ocfs2-tools-devel] [PATCH] add support for Ceph block devices
Frank Brendel
frank.brendel at eurolog.com
Tue Feb 7 00:35:06 PST 2017
Joseph,
I am a little confused about the version on github.
Mark (on github) has version 1.8.4 released as oss.oracle.com/git has.
Are these repositories clones?
And do you know why OL7 ships a rpm with version 1.8.6?
Many thanks,
Frank
Am 07.02.2017 um 09:07 schrieb Frank Brendel:
> Hi Joseph,
>
> ok, I've made a pull request here
> https://github.com/markfasheh/ocfs2-tools/pull/8
>
>
> Regards
> Frank
>
> Am 07.02.2017 um 01:54 schrieb Joseph Qi:
>> Hi Frank,
>>
>> Please rebase your patch onto master branch, which can be cloned at:
>>
>> https://github.com/markfasheh/ocfs2-tools/
>>
>> Thanks,
>>
>> Joseph
>>
>> On 17/2/6 19:40, Frank Brendel wrote:
>>> Hi,
>>>
>>> the global-heartbeat does not work with ceph block devices.
>>> Starting the cluster fails with:
>>> o2cb.init: o2cb: Heartbeat region could not be found
>>>
>>> This patch adds support for Ceph block devices /dev/rbd to be used as
>>> global-heartbeat.
>>>
>>>
>>> Regards
>>> Frank
>>>
>>>
>>> diff -Npru ocfs2-tools-1.8.6.orig/o2cb_ctl/o2cb_scandisk.c
>>> ocfs2-tools-1.8.6/o2cb_ctl/o2cb_scandisk.c
>>> --- ocfs2-tools-1.8.6.orig/o2cb_ctl/o2cb_scandisk.c 2016-07-11
>>> 04:45:18.000000000 +0200
>>> +++ ocfs2-tools-1.8.6/o2cb_ctl/o2cb_scandisk.c 2017-02-05
>>> 11:20:34.930450644 +0100
>>> @@ -134,6 +134,8 @@ static void add_to_list(struct list_head
>>> add = !strncmp(path->path, "/dev/loop",
>>> 9);
>>> if (!add)
>>> add = !strncmp(path->path, "/dev/xvd", 8);
>>> + if (!add)
>>> + add = !strncmp(path->path, "/dev/rbd", 8);
>>> }
>>> if (add) {
>>> hb = malloc(sizeof(struct hb_devices))
>>>
>>>
>>>
>>> _______________________________________________
>>> Ocfs2-tools-devel mailing list
>>> Ocfs2-tools-devel at oss.oracle.com
>>> https://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel
>> _______________________________________________
>> Ocfs2-tools-devel mailing list
>> Ocfs2-tools-devel at oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel
>
>
> _______________________________________________
> Ocfs2-tools-devel mailing list
> Ocfs2-tools-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel
More information about the Ocfs2-tools-devel
mailing list