• Alexander Aring's avatar
    fs: dlm: remove dlm_node_addrs lookup list · 6f0b0b5d
    Alexander Aring authored
    This patch merges the dlm_node_addrs lookup list to the connection
    structure. It is a per node mapping to some configuration setup by
    configfs. We don't need two lookup structures. The connection hash has
    now a lifetime like the dlm_node_addrs entries. Means we add only new
    entries when configure cluster and not while new connections are coming
    in, remove connection when a node got fenced and cleanup all connection
    when the dlm exits. It should work the same and even will show more
    issues because we don't try to somehow keep those two data structures in
    sync with the current cluster configuration.
    Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    6f0b0b5d
lowcomms.c 44.8 KB