ceph: use complete_all and wake_up_all
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 27 Jul 2010 20:11:08 +0000 (13:11 -0700)
committerSage Weil <sage@newdream.net>
Tue, 27 Jul 2010 20:11:17 +0000 (13:11 -0700)
This fixes an issue triggered by running concurrent syncs. One of the syncs
would go through while the other would just hang indefinitely. In any case, we
never actually want to wake a single waiter, so the *_all functions should
be used.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c
fs/ceph/file.c
fs/ceph/inode.c
fs/ceph/mds_client.c
fs/ceph/mon_client.c
fs/ceph/osd_client.c

diff --cc fs/ceph/caps.c
Simple merge
diff --cc fs/ceph/file.c
Simple merge
diff --cc fs/ceph/inode.c
Simple merge
Simple merge
Simple merge
Simple merge