search for: o2quo_make_decision

Displaying 5 results from an estimated 5 matches for "o2quo_make_decision".

2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
...lock is also acquired by the timer o2net_idle_timer() which executes under softirq context, code executing under process context should disable irq before acquiring the lock, otherwise deadlock could happen if the process context hold the lock then preempt by the timer. Possible deadlock scenario: o2quo_make_decision (workqueue) -> spin_lock(&qs->qs_lock); <timer interrupt> -> o2net_idle_timer -> o2quo_conn_err -> spin_lock(&qs->qs_lock); (deadlock here) This flaw was found using an experimental static analysis tool we are developing for irq-r...
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
...lock is also acquired by the timer o2net_idle_timer() which executes under softirq context, code executing under process context should disable irq before acquiring the lock, otherwise deadlock could happen if the process context hold the lock then preempt by the timer. Possible deadlock scenario: o2quo_make_decision (workqueue) -> spin_lock(&qs->qs_lock); <timer interrupt> -> o2net_idle_timer -> o2quo_conn_err -> spin_lock(&qs->qs_lock); (deadlock here) This flaw was found using an experimental static analysis tool we are developing for irq-r...
2006 May 18
0
Node crashed after remove a path
...for_node_death:285 4E4133205E3C4AD980D6BBBE4AE4014B: waiting 5000ms for notification of death of node 0 (6360,0):dlm_send_remote_convert_request:393 ERROR: status = -107 (6360,0):dlm_wait_for_node_death:285 EDB955CBD81B44C78CD9258B99F91E4C: waiting 5000ms for notification of death of node 0 (6,0):o2quo_make_decision:143 ERROR: fencing this node because it is connected to a half-quorum of 1 out of 2 nodes which doesn't include the lowest active node 0 (6,0):o2hb_stop_all_regions:1727 ERROR: stopping heartbeat on all active regions. Kernel panic - not syncing: ocfs2 is very sorry to be fencing this system...
2010 Jan 14
1
another fencing question
...atus = -107 Jan 14 07:03:10 nvr1-rc kernel: (4007,4):dlm_flush_asts:600 ERROR: status = -107 Jan 14 07:03:29 nvr1-rc kernel: (3950,5):o2net_connect_expired:1664 ERROR: no connection established with node 0 after 35.0 seconds, giving up and returning errors. Jan 14 07:03:50 nvr1-rc kernel: (31,5):o2quo_make_decision:146 ERROR: fencing this node because it is connected to a half-quorum of 1 out of 2 nodes which doesn't include the lowest active node 0 Jan 14 07:03:50 nvr1-rc kernel: (31,5):o2hb_stop_all_regions:1967 ERROR: stopping heartbeat on all active regions. I'm sure there are no network conne...
2006 Jan 09
0
[PATCH 01/11] ocfs2: event-driven quorum
...+ if (ret == 0) + ret = o2hb_register_callback(&o2quo_hb_conn_down); + + if (ret) + o2quo_unregister_hb_callbacks(); + + return ret; +} + + +int o2quo_init(void) { struct o2quo_state *qs = &o2quo_state; + int i; spin_lock_init(&qs->qs_lock); INIT_WORK(&qs->qs_work, o2quo_make_decision, NULL); + for (i = 0; i < O2NM_MAX_NODES; i++) + INIT_WORK(&qs->qs_node_work[i], o2quo_hb_still_up, (void *)i); + + return o2quo_register_hb_callbacks(); } void o2quo_exit(void) { flush_scheduled_work(); + o2quo_unregister_hb_callbacks(); } diff -ruNpX dontdiff linux-2.6.15-stagi...