From: Xue jiufei <xuejiufei@huawei.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] how can the [o2hb-x] kernel thread begin running in the ocfs2
Date: Tue, 9 Dec 2014 14:38:01 +0800 [thread overview]
Message-ID: <548698C9.605@huawei.com> (raw)
In-Reply-To: <20141107183741199576112@h3c.com>
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
>
prev parent reply other threads:[~2014-12-09 6:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.16278.1415343839.23890.ocfs2-devel@oss.oracle.com>
2014-11-07 10:37 ` [Ocfs2-devel] how can the [o2hb-x] kernel thread begin running in the ocfs2 Zhangguanghui
2014-12-09 6:38 ` Xue jiufei [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=548698C9.605@huawei.com \
--to=xuejiufei@huawei.com \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox