dlm: Switch to using wait_event()
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 29 Apr 2020 12:15:41 +0000 (13:15 +0100)
committerDavid Teigland <teigland@redhat.com>
Tue, 12 May 2020 19:06:17 +0000 (14:06 -0500)
commitf084a4f4a14b97d2ad6e4bd6406933b2d39e6eca
treee7631213b7b5616b141e0070ff162ab8a416e47d
parent90db4f8be38629bd09183b78079d582221523e25
dlm: Switch to using wait_event()

We saw an issue in a production server on a customer deployment where
DLM 4.0.7 gets "stuck" and unable to join new lockspaces.

There is no useful response for the dlm in do_event() if
wait_event_interruptible() is interrupted, so switch to
wait_event().

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c