Searched hist:"055923 bf" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/dlm/ |
H A D | lowcomms.c | 055923bf Mon Jul 27 08:13:38 CDT 2020 Alexander Aring <aahringo@redhat.com> 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> 055923bf Mon Jul 27 08:13:38 CDT 2020 Alexander Aring <aahringo@redhat.com> 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>
|