[Ocfs2-tools-devel] [PATCH] add support for Ceph block devices

Joseph Qi jiangqi903 at gmail.com
Tue Feb 7 02:45:30 PST 2017


Merged. Thanks.
IIRC, version 1.8.4 was released on 2015 and it was an old version.
Mark's github repo is the latest and still maintained. You can found some
information at:
https://oss.oracle.com/pipermail/ocfs2-devel/2015-February/010579.html

I don't know the version 1.8.6, maybe it is Oracle Linux's internal version.

Thanks,
Joseph

On 17/2/7 16:35, Frank Brendel wrote:
> 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
>
>
> _______________________________________________
> 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