You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch changes the orphans mutex to a spinlock since commit
c288745 ("dlm: avoid blocking receive at the end of recovery") is
using a rwlock_t to lock the DLM message receive path and do_purge() can
be called while this lock is held that forbids to sleep.
We need to use spin_lock_bh() because also a user context that calls
dlm_user_purge() can call do_purge() and since commit 92d59ad
("dlm: do message processing in softirq context") the DLM message
receive path is done under softirq context.
Fixes: c288745 ("dlm: avoid blocking receive at the end of recovery")
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/gfs2/[email protected]/
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
0 commit comments