• Alexander Aring's avatar
    fs: dlm: don't use RCOM_NAMES for version detection · a3d85fcf
    Alexander Aring authored
    Currently RCOM_STATUS and RCOM_NAMES inclusive their replies are being
    used to determine the DLM version. The RCOM_NAMES messages are triggered
    in DLM recovery when calling dlm_recover_directory() only. At this time
    the DLM version need to be determined. I ran some tests and did not
    expirenced some issues. When the DLM version detection was developed
    probably I run once in a case of RCOM_NAMES and the version was not
    detected yet. However it seems to be not necessary.
    
    For backwards compatibility we still need to accept RCOM_NAMES messages
    which are not protected regarding the DLM message reliability layer aka
    stateless message. This patch changes that RCOM_NAMES we are sending out
    after this patch are not stateless anymore.
    Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    a3d85fcf
rcom.c 17.4 KB