WSL2-Linux-Kernel/fs/dlm
Alexander Aring 354cdda79a fs: dlm: interrupt posix locks only when process is killed
[ Upstream commit 59e45c758c ]

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 a6b1533e9a ("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: a6b1533e9a ("dlm: make posix locks interruptible")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-03 10:22:28 +02:00
..
Kconfig
Makefile
ast.c fs: dlm: fix race between test_bit() and queue_work() 2022-10-26 12:34:20 +02:00
ast.h
config.c fs: dlm: rename socket and app buffer defines 2021-06-02 11:53:04 -05:00
config.h fs: dlm: rename socket and app buffer defines 2021-06-02 11:53:04 -05:00
debug_fs.c fs: dlm: add midcomms debugfs functionality 2021-05-25 09:22:20 -05:00
dir.c fs: dlm: fix return -EINTR on recovery stopped 2021-08-19 11:33:03 -05:00
dir.h
dlm_internal.h fs: dlm: fix typo in tlv prefix 2021-07-19 11:53:43 -05:00
lock.c fs: dlm: fix invalid derefence of sb_lvbptr 2022-10-29 10:12:57 +02:00
lock.h
lockspace.c fs: dlm: start midcomms before scand 2023-03-17 08:48:50 +01:00
lockspace.h
lowcomms.c fs: dlm: add midcomms init/start functions 2023-03-17 08:48:49 +01:00
lowcomms.h fs: dlm: add midcomms init/start functions 2023-03-17 08:48:49 +01:00
lvb_table.h
main.c fs: dlm: add midcomms init/start functions 2023-03-17 08:48:49 +01:00
member.c fs: dlm: fix return -EINTR on recovery stopped 2021-08-19 11:33:03 -05:00
member.h
memory.c
memory.h
midcomms.c fs: dlm: add midcomms init/start functions 2023-03-17 08:48:49 +01:00
midcomms.h fs: dlm: add midcomms init/start functions 2023-03-17 08:48:49 +01:00
netlink.c
plock.c fs: dlm: interrupt posix locks only when process is killed 2023-08-03 10:22:28 +02:00
rcom.c fs: dlm: cleanup and remove _send_rcom 2021-07-19 11:53:43 -05:00
rcom.h
recover.c
recover.h
recoverd.c fs: dlm: fix return -EINTR on recovery stopped 2021-08-19 11:33:03 -05:00
recoverd.h
requestqueue.c
requestqueue.h
user.c
user.h
util.c fs: dlm: add union in dlm header for lockspace id 2021-05-25 09:22:20 -05:00
util.h fs: dlm: public header in out utility 2021-05-25 09:22:20 -05:00