diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-05-19 11:21:26 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-05-22 14:34:32 -0500 |
commit | 59e45c758ca1b9893ac923dd63536da946ac333b (patch) | |
tree | 9a69a73d2b9a2f0ac3b1673b4b305a9ef7dc42b7 /net/tipc/bearer.h | |
parent | c847f4e203046a2c93d8a1cf0348315c0b655a60 (diff) | |
download | lwn-59e45c758ca1b9893ac923dd63536da946ac333b.tar.gz lwn-59e45c758ca1b9893ac923dd63536da946ac333b.zip |
fs: dlm: interrupt posix locks only when process is killed
If a posix lock request is waiting for a result from user space
(dlm_controld), do not let it be interrupted unless the process
is killed. This reverts commit a6b1533e9a57 ("dlm: make posix locks
interruptible"). The problem with the interruptible change is
that all locks were cleared on any signal interrupt. If a signal
was received that did not terminate the process, the process
could continue running after all its dlm posix locks had been
cleared. A future patch will add cancelation to allow proper
interruption.
Cc: stable@vger.kernel.org
Fixes: a6b1533e9a57 ("dlm: make posix locks interruptible")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'net/tipc/bearer.h')
0 files changed, 0 insertions, 0 deletions