summaryrefslogtreecommitdiffstats
path: root/fs/dlm/ast.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2020-07-27 15:13:38 +0200
committerDavid Teigland <teigland@redhat.com>2020-08-06 17:30:54 +0200
commit055923bf6b48659755b5f0169e34107ee2cb9b68 (patch)
treecb2ad1614f58a6c96e23192c35d21f78b63b96d8 /fs/dlm/ast.c
parentfs: dlm: change handling of reconnects (diff)
downloadlinux-055923bf6b48659755b5f0169e34107ee2cb9b68.tar.xz
linux-055923bf6b48659755b5f0169e34107ee2cb9b68.zip
fs: dlm: implement tcp graceful shutdown
During my code inspection I saw there is no implementation of a graceful shutdown for tcp. This patch will introduce a graceful shutdown for tcp connections. The shutdown is implemented synchronized as dlm_lowcomms_stop() is called to end all dlm communication. After shutdown is done, a lot of flush and closing functionality will be called. However I don't see a problem with that. The waitqueue for synchronize the shutdown has a timeout of 10 seconds, if timeout a force close will be exectued. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/ast.c')
0 files changed, 0 insertions, 0 deletions