diff options
author | Alexander Aring <aahringo@redhat.com> | 2024-06-03 17:55:55 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2024-06-11 12:57:49 -0500 |
commit | f328a26eeb5380bc74e58cb9c3280a4908452df7 (patch) | |
tree | 64cecb36a7ccdee0c9abffee990000f84c0f6e46 /include/uapi/linux/dlm.h | |
parent | d3d85e9ad55b973eff3641dd3a61990a2c810785 (diff) |
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>
Diffstat (limited to 'include/uapi/linux/dlm.h')
-rw-r--r-- | include/uapi/linux/dlm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/dlm.h b/include/uapi/linux/dlm.h index e7e905fb0bb2..4eaf835780b0 100644 --- a/include/uapi/linux/dlm.h +++ b/include/uapi/linux/dlm.h @@ -71,6 +71,8 @@ struct dlm_lksb { /* DLM_LSFL_TIMEWARN is deprecated and reserved. DO NOT USE! */ #define DLM_LSFL_TIMEWARN 0x00000002 #define DLM_LSFL_NEWEXCL 0x00000008 +/* currently reserved due in-kernel use */ +#define __DLM_LSFL_RESERVED0 0x00000010 #endif /* _UAPI__DLM_DOT_H__ */ |