Displaying 1 result from an estimated 1 matches for "o2nm_cluster_attribute".
2009 Nov 17
1
[PATCH 1/1] ocfs2/cluster: Make fence method configurable
...continue;
+ if (!strncasecmp(page, o2nm_fence_method_desc[i], count - 1)) {
+ printk(KERN_INFO "ocfs2: Changing fence method to %s\n",
+ o2nm_fence_method_desc[i]);
+ cluster->cl_fence_method = i;
+ return count;
+ }
+ }
+
+bail:
+ return -EINVAL;
+}
+
static struct o2nm_cluster_attribute o2nm_cluster_attr_idle_timeout_ms = {
.attr = { .ca_owner = THIS_MODULE,
.ca_name = "idle_timeout_ms",
@@ -603,10 +643,19 @@ static struct o2nm_cluster_attribute o2nm_cluster_attr_reconnect_delay_ms = {
.store = o2nm_cluster_attr_reconnect_delay_ms_write,
};
+static struct o...