fs: dlm: cleanup listen sock handling
authorAlexander Aring <aahringo@redhat.com>
Thu, 17 Nov 2022 22:11:51 +0000 (17:11 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Nov 2022 15:45:49 +0000 (09:45 -0600)
commitc3d88dfd15835f42c79467eee2c40db3095e5271
treec2aaeee130462cdd91bf7148fabd41091ae9a416
parent4f567acb0b8622fe265aac4b0037a03ef544ba24
fs: dlm: cleanup listen sock handling

This patch removes save_listen_callbacks() and add_listen_sock() as they
are only used once in lowcomms functionality. For shutdown lowcomms it's
not necessary to whole flush the workqueues to synchronize with
restoring the old sk_data_ready() callback. Only the listen con receive
work need to be cancelled. For each individual node shutdown we should be
sure that last ack was been transmitted which is done by flushing per
connection swork worker.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c