search for: qs_lock

Displaying 3 results from an estimated 3 matches for "qs_lock".

Did you mean: qp_lock
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
As &qs->qs_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: o2qu...
2023 Jun 27
0
[PATCH] fs: ocfs: fix potential deadlock on &qs->qs_lock
As &qs->qs_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: o2qu...
2006 Jan 09
0
[PATCH 01/11] ocfs2: event-driven quorum
...is node from * conn_up, conn_err, or hb_up */ -void o2quo_hb_down(u8 node) +void o2quo_hb_down(struct o2nm_node *_node, int node, void *data) { struct o2quo_state *qs = &o2quo_state; @@ -226,6 +237,8 @@ void o2quo_hb_down(u8 node) o2quo_clear_hold(qs, node); spin_unlock(&qs->qs_lock); + + cancel_delayed_work(&qs->qs_node_work[node]); } /* this tells us that we've decided that the node is still heartbeating @@ -233,9 +246,10 @@ void o2quo_hb_down(u8 node) * and indicates that we must now make a quorum decision in the future, * though we might be doing so afte...