Lines Matching refs:osdmap
1033 peer_addr = &osdc->osdmap->osd_addr[osd->o_osd]; in __reset_osd()
1248 err = ceph_calc_ceph_pg(&pgid, req->r_oid, osdc->osdmap, in __map_request()
1256 err = ceph_calc_pg_acting(osdc->osdmap, pgid, acting); in __map_request()
1298 &osdc->osdmap->osd_addr[o]); in __map_request()
1327 put_unaligned_le32(osdc->osdmap->epoch, req->r_request_osdmap_epoch); in __send_request()
1596 if (!ceph_osd_is_up(osdc->osdmap, osd->o_osd) || in reset_changed_osds()
1598 ceph_osd_addr(osdc->osdmap, in reset_changed_osds()
1704 dout("handle_map have %u\n", osdc->osdmap ? osdc->osdmap->epoch : 0); in ceph_osdc_handle_map()
1725 if (osdc->osdmap && osdc->osdmap->epoch+1 == epoch) { in ceph_osdc_handle_map()
1729 osdc->osdmap, in ceph_osdc_handle_map()
1736 if (newmap != osdc->osdmap) { in ceph_osdc_handle_map()
1737 ceph_osdmap_destroy(osdc->osdmap); in ceph_osdc_handle_map()
1738 osdc->osdmap = newmap; in ceph_osdc_handle_map()
1762 } else if (osdc->osdmap && osdc->osdmap->epoch >= epoch) { in ceph_osdc_handle_map()
1765 osdc->osdmap->epoch); in ceph_osdc_handle_map()
1776 oldmap = osdc->osdmap; in ceph_osdc_handle_map()
1777 osdc->osdmap = newmap; in ceph_osdc_handle_map()
1791 ceph_monc_got_osdmap(&osdc->client->monc, osdc->osdmap->epoch); in ceph_osdc_handle_map()
1798 if (ceph_osdmap_flag(osdc->osdmap, CEPH_OSDMAP_FULL)) in ceph_osdc_handle_map()
2217 osdc->osdmap = NULL; in ceph_osdc_init()
2279 if (osdc->osdmap) { in ceph_osdc_stop()
2280 ceph_osdmap_destroy(osdc->osdmap); in ceph_osdc_stop()
2281 osdc->osdmap = NULL; in ceph_osdc_stop()