search for: o2quo_conn_err

Displaying 4 results from an estimated 4 matches for "o2quo_conn_err".

2006 Jan 09
0
[PATCH 01/11] ocfs2: event-driven quorum
...{ struct o2quo_state *qs = &o2quo_state; @@ -278,7 +292,7 @@ void o2quo_conn_up(u8 node) * still heartbeating we grab a hold that will delay decisions until either the * node stops heartbeating from hb_down or the caller decides that the node is * still up and calls still_up */ -void o2quo_conn_err(u8 node) +void o2quo_conn_err(struct o2nm_node *_node, int node, void *data) { struct o2quo_state *qs = &o2quo_state; @@ -299,17 +313,78 @@ void o2quo_conn_err(u8 node) o2quo_set_hold(qs, node); spin_unlock(&qs->qs_lock); + + schedule_delayed_work(&qs->qs_node_work[nod...
2009 Nov 20
3
o2net patch that avoids socket disconnect/reconnect
This fix modifies o2net layer behavior which seems to trigger some DLM race issues during umount/evictions that needs to be fixed as well. I am working on the dlm issues but meanwhile please review this patch. Thanks, --Srini
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
...ore 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-related deadlock. The tentative patch fix the potential deadlock by spin_lock_irqsave(). Signed-off-by: Chengfeng Ye <dg573847474 at gmail.com...
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
...ore 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-related deadlock. The tentative patch fix the potential deadlock by spin_lock_irqsave(). Signed-off-by: Chengfeng Ye <dg573847474 at gmail.com...