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>
This commit is contained in:
parent
1bb71637d0
commit
c473ad927e
1 changed files with 1 additions and 0 deletions
|
@ -1078,6 +1078,7 @@ void ceph_osdc_handle_map(struct ceph_osd_client *osdc, struct ceph_msg *msg)
|
|||
if (newmap)
|
||||
kick_requests(osdc, NULL);
|
||||
up_read(&osdc->map_sem);
|
||||
wake_up(&osdc->client->auth_wq);
|
||||
return;
|
||||
|
||||
bad:
|
||||
|
|
Loading…
Add table
Reference in a new issue