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)
commit03066f23452ff088ad8e2c8acdf4443043f35b51
tree37f03df4e28de87339cec3b88e479073c8cee958
parent25848b3ec681c7018e3746dd850c1e8ed0a3dd6b
ceph: use complete_all and wake_up_all

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