diff options
author | 2023-01-12 17:18:42 -0500 | |
---|---|---|
committer | 2023-01-23 14:36:37 -0600 | |
commit | 54fbe0c15d9a8072e2db7f6765f50c995834e2d7 (patch) | |
tree | c2ecf18fc518e674fa53ae6dec6fb06aa9e271c0 /README | |
parent | fs: dlm: send FIN ack back in right cases (diff) | |
download | linux-54fbe0c15d9a8072e2db7f6765f50c995834e2d7.tar.gz linux-54fbe0c15d9a8072e2db7f6765f50c995834e2d7.tar.bz2 linux-54fbe0c15d9a8072e2db7f6765f50c995834e2d7.zip |
fs: dlm: bring back previous shutdown handling
This patch mostly reverts commit 4f567acb0b86 ("fs: dlm: remove socket
shutdown handling"). There can be situations where the dlm midcomms nodes
hash and lowcomms connection hash are not equal, but we need to guarantee
that the lowcomms are all closed on a last release of a dlm lockspace,
when a shutdown is invoked. This patch guarantees that we always close
all sockets managed by the lowcomms connection hash, and calls shutdown
for the last message sent. This ensures we don't cut the socket, which
could cause the peer to get a connection reset.
In future we should try to merge the midcomms/lowcomms hashes into one
hash and not handle both in separate hashes.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions