]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: remove send repeat remove handling
authorAlexander Aring <aahringo@redhat.com>
Thu, 27 Oct 2022 20:45:13 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:18 +0000 (08:50 +0100)
commit0eafd2e43b110122a47580f6bf8f532344358fad
treec166e12c03cd2c3094313e13c0d12a3313560a61
parent0a8f0cbd9786845ceb896da9cf70420bb009c0d1
fs: dlm: remove send repeat remove handling

[ Upstream commit ce3b53270ec032f4aa4b46d0e6b07ab3e39812d6 ]

This patch removes the send repeat remove handling. This handling is
there to repeatingly DLM_MSG_REMOVE messages in cases the dlm stack
thinks it was not received at the first time. In cases of message drops
this functionality is necessary, but since the DLM midcomms layer
guarantees there are no messages drops between cluster nodes this
feature became not strict necessary anymore. Due message
delays/processing it could be that two send_repeat_remove() are sent out
while the other should be still on it's way. We remove the repeat remove
handling because we are sure that the message cannot be dropped due
communication errors.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Stable-dep-of: caf2799e0b84 ("fs: dlm: fix use after free in midcomms commit")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/lock.c