• David Teigland's avatar
    dlm: send reply before bast · 8b52a196
    David Teigland authored
    commit cf6620ac upstream.
    
    When the lock master processes a successful operation (request,
    convert, cancel, or unlock), it will process the effects of the
    change before sending the reply for the operation.  The "effects"
    of the operation are:
    
    - blocking callbacks (basts) for any newly granted locks
    - waiting or converting locks that can now be granted
    
    The cast is queued on the local node when the reply from the lock
    master is received.  This means that a lock holder can receive a
    bast for a lock mode that is doesn't yet know has been granted.
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    8b52a196
lock.c 121 KB