Skip to content
Commit f3c60c59 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: fix multiple mds session shutdown



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>
parent e56fa10e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment