fs: dlm: listen socket out of connection hash
authorAlexander Aring <aahringo@redhat.com>
Tue, 3 Nov 2020 01:04:25 +0000 (20:04 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 10 Nov 2020 18:14:20 +0000 (12:14 -0600)
commitd11ccd451b655617388ace167ab2440b4b4cc95b
tree577e9c2f7f7a6d4bc37967c54039d8163be1adb3
parent13004e8afedcaab5a2e4c1fac4fbeafa629bca07
fs: dlm: listen socket out of connection hash

This patch introduces a own connection structure for the listen socket
handling instead of handling the listen socket as normal connection
structure in the connection hash. We can remove some nodeid equals zero
validation checks, because this nodeid should not exists anymore inside
the node hash. This patch also removes the sock mutex in
accept_from_sock() function because this function can't occur in another
parallel context if it's scheduled on only one workqueue.

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