Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243539
b: refs/heads/master
c: 234af26
h: refs/heads/master
i:
  243537: 637981b
  243535: e932fdd
v: v3
  • Loading branch information
Dan Carpenter authored and Sage Weil committed Mar 29, 2011
1 parent e172ad3 commit 8b1d931
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b0ae4097c1ebad98c7b33f83b4ca7e93890ed12
refs/heads/master: 234af26ff123dfb2aa48772124721b1354c8e0a5
4 changes: 3 additions & 1 deletion trunk/net/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ int ceph_osdc_start_request(struct ceph_osd_client *osdc,
if (req->r_sent == 0) {
rc = __map_request(osdc, req);
if (rc < 0)
return rc;
goto out_unlock;
if (req->r_osd == NULL) {
dout("send_request %p no up osds in pg\n", req);
ceph_monc_request_next_osdmap(&osdc->client->monc);
Expand All @@ -1689,6 +1689,8 @@ int ceph_osdc_start_request(struct ceph_osd_client *osdc,
}
}
}

out_unlock:
mutex_unlock(&osdc->request_mutex);
up_read(&osdc->map_sem);
return rc;
Expand Down

0 comments on commit 8b1d931

Please sign in to comment.