Skip to content

Commit

Permalink
fs: dlm: listen socket out of connection hash
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Aring authored and David Teigland committed Nov 10, 2020
1 parent 13004e8 commit d11ccd4
Showing 1 changed file with 74 additions and 93 deletions.
Loading

0 comments on commit d11ccd4

Please sign in to comment.