• Sage Weil's avatar
    ceph: fix multiple mds session shutdown · f3c60c59
    Sage Weil authored
    The use of a completion when waiting for session shutdown during umount is
    inappropriate, given the complexity of the condition.  For multiple MDS's,
    this resulted in the umount thread spinning, often preventing the session
    close message from being processed in some cases.
    
    Switch to a waitqueue and defined a condition helper.  This cleans things
    up nicely.
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    f3c60c59
mds_client.c 83.7 KB