• Alexander Aring's avatar
    fs: dlm: warn about messages from left nodes · 70cf2fec
    Alexander Aring authored
    This patch warns about messages which are received from nodes who
    already left the lockspace resource signaled by the cluster manager.
    Before commit 489d8e55 ("fs: dlm: add reliable connection if
    reconnect") there was a synchronization issue with the socket
    lifetime and the cluster event of leaving a lockspace and other
    nodes did not stop of sending messages because the cluster manager has a
    pending message to leave the lockspace. The reliable session layer for
    dlm use sequence numbers to ensure dlm message were never being dropped.
    If this is not corrected synchronized we have a problem, this patch will
    use the filter case and turn it into a WARN_ON_ONCE() so we seeing such
    issue on the kernel log because it should never happen now.
    Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    70cf2fec
lock.c 156 KB