fs: dlm: use event based wait for pending remove
authorAlexander Aring <aahringo@redhat.com>
Tue, 30 Nov 2021 19:47:16 +0000 (14:47 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 7 Dec 2021 18:42:26 +0000 (12:42 -0600)
commit21d9ac1a5376d949199398848006f6b14649f533
tree673a07f065a27bd8d473c69cc915a586c970f257
parentbcbfea41e1f9d516faed1faf0f2d390c000bf0d9
fs: dlm: use event based wait for pending remove

This patch will use an event based waitqueue to wait for a possible clash
with the ls_remove_name field of dlm_ls instead of doing busy waiting.

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/lockspace.c