diff options
author | Alexander Aring <aahringo@redhat.com> | 2020-07-27 09:13:38 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-08-06 10:30:54 -0500 |
commit | 055923bf6b48659755b5f0169e34107ee2cb9b68 (patch) | |
tree | cb2ad1614f58a6c96e23192c35d21f78b63b96d8 /include | |
parent | ba3ab3ca68caafb7700c4abae357b7fb7538df11 (diff) | |
download | linux-055923bf6b48659755b5f0169e34107ee2cb9b68.tar.bz2 |
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 'include')
0 files changed, 0 insertions, 0 deletions