• Alexander Aring's avatar
    fs: dlm: add dst nodeid for msg tracing · 17827754
    Alexander Aring authored
    In DLM when we send a dlm message it is easy to add the lock resource
    name, but additional lookup is required when to trace the receive
    message side. The idea here is to move the lookup work to the user by
    using a lookup to find the right send message with recv message. As note
    DLM can't drop any message which is guaranteed by a special session
    layer.
    
    For doing the lookup a 3 tupel is required as an unique identification
    which is dst nodeid, src nodeid and sequence number. This patch adds the
    destination nodeid to the dlm message trace points. The source nodeid is
    given by the h_nodeid field inside the header.
    Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    17827754
dlm.h 19.3 KB