dlm: convert res_lock to spinlock
authorAlexander Aring <aahringo@redhat.com>
Tue, 2 Apr 2024 19:18:05 +0000 (15:18 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Apr 2024 16:44:49 +0000 (11:44 -0500)
commitcc396e2355b5ca6e1aee005f3ce99bab8f37f5ff
treed1a5e2c16c95a0ee30e1575ce8f264d2a101d191
parent097691dbadcdcaa6428adf0417cd227602eb60a4
dlm: convert res_lock to spinlock

Convert the rsb struct res_lock from a mutex to a spinlock
in preparation for processing messages in softirq context.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dlm_internal.h
fs/dlm/lock.c
fs/dlm/lock.h