Ver código fonte

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 anos atrás
pai
commit
c473ad927e
1 arquivos alterados com 1 adições e 0 exclusões
  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: