dlm: introduce DLM_LSFL_SOFTIRQ_SAFE
authorAlexander Aring <aahringo@redhat.com>
Mon, 3 Jun 2024 21:55:55 +0000 (17:55 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 11 Jun 2024 17:57:49 +0000 (12:57 -0500)
commitf328a26eeb5380bc74e58cb9c3280a4908452df7
tree64cecb36a7ccdee0c9abffee990000f84c0f6e46
parentd3d85e9ad55b973eff3641dd3a61990a2c810785
dlm: introduce DLM_LSFL_SOFTIRQ_SAFE

Introduce a new external lockspace flag DLM_LSFL_SOFTIRQ_SAFE.  A
lockspace user will set this flag if it can handle dlm running the
callback functions from softirq context.  When not set, dlm will
continue to run callback functions from the dlm_callback workqueue.
The new lockspace flag cannot be used for user space lockspaces, so
a uapi placeholder definition is used for the new flag value.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c
include/linux/dlm.h
include/uapi/linux/dlm.h