[Ocfs2-devel] how can the [o2hb-x] kernel thread begin running in the ocfs2
Xue jiufei
xuejiufei at huawei.com
Mon Dec 8 22:38:01 PST 2014
Hi,
Ocfs2 uses configfs to do user-space configuration tasks. When thread
mount.ocfs2 writes fd to /sys/kernel/config/cluster/{clustername}/heartbeat/{region_name}/dev,
kernel will trigger the callback. you can find the source code in
function o2cb_create_heartbeat_region() in ocfs2-tools package.
Thanks.
Xue Jiufei
On 2014/11/7 18:37, Zhangguanghui wrote:
>
> Hi
>
>
> While mounting -t ocfs2 , the function ocfs2_fill_super is triggered.
>
> In the process, which specific function will trigger the callback of o2hb_region_dev_write,
>
> how can the [o2hb-x] kernel thread begin running?
>
> thanks
>
>
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from H3C, which is
> intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!
>
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
More information about the Ocfs2-devel
mailing list