Sage Weil f3c60c5918 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>
2010-08-22 15:04:43 -07:00
..
2010-08-01 20:11:42 -07:00
2010-08-03 10:25:11 -07:00
2010-08-01 20:11:40 -07:00
2010-05-03 10:49:24 -07:00
2010-08-01 20:11:40 -07:00
2010-08-01 20:11:40 -07:00
2010-08-01 20:11:40 -07:00
2010-02-10 15:04:39 -08:00
2010-08-01 20:11:42 -07:00
2009-12-03 14:59:44 -08:00
2010-08-01 20:11:42 -07:00
2010-08-01 20:11:40 -07:00
2010-08-03 10:25:11 -07:00
2010-08-01 20:11:40 -07:00
2010-08-03 10:25:30 -07:00
2010-05-29 09:12:41 -07:00
2010-08-03 10:25:11 -07:00
2010-08-02 16:10:53 -07:00
2010-08-02 16:10:53 -07:00
2010-08-03 10:25:11 -07:00
2010-08-01 20:11:42 -07:00
2010-08-03 10:25:11 -07:00
2010-08-03 10:25:11 -07:00
2010-08-03 10:25:30 -07:00
2010-08-01 20:11:40 -07:00

#
# The following files are shared by (and manually synchronized
# between) the Ceph userland and kernel client.
#
# userland                  kernel
src/include/ceph_fs.h	    fs/ceph/ceph_fs.h
src/include/ceph_fs.cc	    fs/ceph/ceph_fs.c
src/include/msgr.h	    fs/ceph/msgr.h
src/include/rados.h	    fs/ceph/rados.h
src/include/ceph_strings.cc fs/ceph/ceph_strings.c
src/include/ceph_frag.h	    fs/ceph/ceph_frag.h
src/include/ceph_frag.cc    fs/ceph/ceph_frag.c
src/include/ceph_hash.h	    fs/ceph/ceph_hash.h
src/include/ceph_hash.cc    fs/ceph/ceph_hash.c
src/crush/crush.c	    fs/ceph/crush/crush.c
src/crush/crush.h	    fs/ceph/crush/crush.h
src/crush/mapper.c	    fs/ceph/crush/mapper.c
src/crush/mapper.h	    fs/ceph/crush/mapper.h
src/crush/hash.h	    fs/ceph/crush/hash.h
src/crush/hash.c	    fs/ceph/crush/hash.c