Displaying 1 result from an estimated 1 matches for "_fake_default_cluster".
2006 Dec 07
0
答复: Re: [patch 2/2]OCFS2: allow the ocfs2 heartbeat thread to prioritize I/O
...d_pid (const char *cluster_name, const char *region_name,
>> + pid_t *pid)
>> +{
>> + char attr_path[PATH_MAX];
>> + char _fake_cluster_name[NAME_MAX];
>> + char attr_value[16];
>> + errcode_t ret;
>> +
>> + if (!cluster_name) {
>> + ret = _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_regi...