Skip to content

Commit

Permalink
ceph: wake up mount thread when getting osdmap
Browse files Browse the repository at this point in the history
Now that the mount thread waits for the osdmap, it needs
to be awaken.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
  • Loading branch information
Yehuda Sadeh authored and Sage Weil committed May 17, 2010
1 parent 1bb7163 commit c473ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c473ad9

Please sign in to comment.