• S
    ceph: fix multiple mds session shutdown · f3c60c59
    Sage Weil 提交于
    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: NSage Weil <sage@newdream.net>
    f3c60c59
mds_client.h 11.4 KB