• Alexander Aring's avatar
    fs: dlm: get recovery sequence number as parameter · c4f4e135
    Alexander Aring authored
    This patch removes a read of the ls->ls_recover_seq uint64_t number in
    _create_rcom(). If the ls->ls_recover_seq is readed the ls_recover_lock
    need to held. However this number was always readed before when any rcom
    message is received and it's not necessary to read it again from a per
    lockspace variable to use it for the replying message. This patch will
    pass the sequence number as parameter so another read of ls->ls_recover_seq
    and holding the ls->ls_recover_lock is not required.
    Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    c4f4e135
rcom.h 1.03 KB