diff options
author | Lars Marowsky-Bree <lmb@suse.de> | 2009-08-11 16:18:23 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2009-08-24 13:13:56 -0500 |
commit | 063c4c99630c0b06afad080d2a18bda64172c1a2 (patch) | |
tree | 5ceca753d0366f9af6e2afbc9151494a6cfcac7d /README | |
parent | b5711b8e5a437ca7d35321d19de568b4f76a7739 (diff) | |
download | kernel_samsung_espresso10-063c4c99630c0b06afad080d2a18bda64172c1a2.zip kernel_samsung_espresso10-063c4c99630c0b06afad080d2a18bda64172c1a2.tar.gz kernel_samsung_espresso10-063c4c99630c0b06afad080d2a18bda64172c1a2.tar.bz2 |
dlm: fix connection close handling
Closing a connection to a node can create problems if there are
outstanding messages for that node. The problems include dlm_send
spinning attempting to reconnect, or BUG from tcp_connect_to_sock()
attempting to use a partially closed connection.
To cleanly close a connection, we now first attempt to send any pending
messages, cancel any remaining workqueue work, and flag the connection
as closed to avoid reconnect attempts.
Signed-off-by: Lars Marowsky-Bree <lmb@suse.de>
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions