diff options
| author | Alexander Aring <[email protected]> | 2020-07-27 13:13:38 +0000 |
|---|---|---|
| committer | David Teigland <[email protected]> | 2020-08-06 15:30:54 +0000 |
| commit | 055923bf6b48659755b5f0169e34107ee2cb9b68 (patch) | |
| tree | cb2ad1614f58a6c96e23192c35d21f78b63b96d8 /drivers/fpga/xilinx-spi.c | |
| parent | fs: dlm: change handling of reconnects (diff) | |
| download | kernel-055923bf6b48659755b5f0169e34107ee2cb9b68.tar.gz kernel-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 <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
