summaryrefslogtreecommitdiffstats
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-08-11 23:51:23 +0200
committerSage Weil <sage@newdream.net>2010-08-23 00:04:43 +0200
commitf3c60c5918f26ea16761ddc8b12d8401a3db626b (patch)
tree00bde7250b6753910a38b454c7a9cee2eb7e84e7 /fs/ceph/caps.c
parentceph: generalize mon requests, add pool op support (diff)
downloadlinux-f3c60c5918f26ea16761ddc8b12d8401a3db626b.tar.xz
linux-f3c60c5918f26ea16761ddc8b12d8401a3db626b.zip
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 <sage@newdream.net>
Diffstat (limited to 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions