diff options
author | Sage Weil <[email protected]> | 2010-08-11 14:51:23 -0700 |
---|---|---|
committer | Sage Weil <[email protected]> | 2010-08-22 15:04:43 -0700 |
commit | f3c60c5918f26ea16761ddc8b12d8401a3db626b (patch) | |
tree | 00bde7250b6753910a38b454c7a9cee2eb7e84e7 /fs/jbd/commit.c | |
parent | e56fa10e92e077d456cbc33b7025032887772b33 (diff) |
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 <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions