From: Sage Weil Date: Wed, 11 Aug 2010 21:51:23 +0000 (-0700) Subject: ceph: fix multiple mds session shutdown X-Git-Tag: v2.6.36-rc3~12^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c60c5918f26ea16761ddc8b12d8401a3db626b;p=pandora-kernel.git 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: Sage Weil --- Reading git-diff-tree failed