search for: o2cb_remove_heartbeat_region

Displaying 1 result from an estimated 1 matches for "o2cb_remove_heartbeat_region".

2006 Dec 07
0
答复: Re: [patch 2/2]OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O
...et = _fake_default_cluster(_fake_cluster_name); >> + if (ret) >> + return ret; >> + cluster_name = _fake_cluster_name; >> + } >Hmm, I don't see any other test for cluster_name == NULL in similar code >paths... Is there any particular reason why you added one? o2cb_remove_heartbeat_region() and o2cb_create_heartbeat_region() also have similar code, _fake_default_cluster() shuold return default cluster name. >> --- /tmp/ocfs2-tools-1.2.2/ocfs2_hb_ctl/ocfs2_hb_ctl.c 2006-10-20 01:10:46.000000000 +0800 >> +++ ocfs2_hb_ctl/ocfs2_hb_ctl.c 2006-12-07 10:04:10.000000000 +0800...