• David Teigland's avatar
    dlm: fix race between remove and lookup · 05c32f47
    David Teigland authored
    It was possible for a remove message on an old
    rsb to be sent after a lookup message on a new
    rsb, where the rsbs were for the same resource
    name.  This could lead to a missing directory
    entry for the new rsb.
    
    It is fixed by keeping a copy of the resource
    name being removed until after the remove has
    been sent.  A lookup checks if this in-progress
    remove matches the name it is looking up.
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    05c32f47
dlm_internal.h 18.7 KB