瀏覽代碼

ceph: wake up mount thread when getting osdmap

Now that the mount thread waits for the osdmap, it needs
to be awaken.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Yehuda Sadeh 15 年之前
父節點
當前提交
c473ad927e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs/ceph/osd_client.c

+ 1 - 0
fs/ceph/osd_client.c

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