md-cluster: use DLM_LSFL_SOFTIRQ for dlm_new_lockspace()
authorAlexander Aring <aahringo@redhat.com>
Mon, 3 Jun 2024 21:55:58 +0000 (17:55 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 11 Jun 2024 18:30:37 +0000 (13:30 -0500)
commit5ce02000eb29db98dc2909b1a346f68acdd9db80
treebb15775577519897f2c70a99b70c81255c6ebd2a
parent68bde2a67a6d6e5a2b8e1a64bad51dd8c3975256
md-cluster: use DLM_LSFL_SOFTIRQ for dlm_new_lockspace()

Use the recently added DLM_LSFL_SOFTIRQ flag in dlm_new_lockspace(),
signalling the ability to handle callbacks being run from softirq
context.  The md-cluster callback functions only call complete(),
which is suitable for softirq.  This should make dlm lock request
completions more efficient by avoiding the workqueue context switch.

Acked-by: Heming Zhao <heming.zhao@suse.com>
Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
drivers/md/md-cluster.c