Commit 5ce02000 authored by Alexander Aring's avatar Alexander Aring Committed by David Teigland
Browse files

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: default avatarHeming Zhao <heming.zhao@suse.com>
Acked-by: default avatarSong Liu <song@kernel.org>
Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 68bde2a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment