dlm: use spin_lock_bh for message processing
authorAlexander Aring <aahringo@redhat.com>
Tue, 2 Apr 2024 19:18:09 +0000 (15:18 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Apr 2024 16:45:23 +0000 (11:45 -0500)
commit578acf9a87a87531df5b59b3799ccc1256a4bbcc
tree9354ed57d97ee78616e338e5f566ce5fe4a9a0b7
parent308533b4b1d55892d939286313fb73c1527444ce
dlm: use spin_lock_bh for message processing

Use spin_lock_bh for all spinlocks involved in message processing,
in preparation for softirq message processing.  DLM lock requests
from user space involve dlm processing in user context, in addition
to the standard kernel context, necessitating bh variants.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
14 files changed:
fs/dlm/ast.c
fs/dlm/debug_fs.c
fs/dlm/dir.c
fs/dlm/lock.c
fs/dlm/lock.h
fs/dlm/lockspace.c
fs/dlm/lowcomms.c
fs/dlm/member.c
fs/dlm/midcomms.c
fs/dlm/rcom.c
fs/dlm/recover.c
fs/dlm/recoverd.c
fs/dlm/requestqueue.c
fs/dlm/user.c