]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ceph: wake up mount thread when getting osdmap
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 13 Apr 2010 18:34:26 +0000 (19:34 +0100)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:21 +0000 (15:25 -0700)
Now that the mount thread waits for the osdmap, it needs
to be awaken.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
fs/ceph/osd_client.c

index a44b3b6374ee8d5cf077bf9a2ae63144afc871c9..b81e6f97010e087548795c38b84b8635c66bb8f0 100644 (file)
@@ -1078,6 +1078,7 @@ done:
        if (newmap)
                kick_requests(osdc, NULL);
        up_read(&osdc->map_sem);
+       wake_up(&osdc->client->auth_wq);
        return;
 
 bad: