Lines Matching refs:pgid
439 dest->pgid = src->pgid; /* struct */ in target_copy()
1530 struct ceph_pg pgid, last_pgid; in calc_target() local
1577 __ceph_object_locator_to_pg(pi, &t->target_oid, &t->target_oloc, &pgid); in calc_target()
1578 last_pgid.pool = pgid.pool; in calc_target()
1579 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); in calc_target()
1581 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); in calc_target()
1604 legacy_change = ceph_pg_compare(&t->pgid, &pgid) || in calc_target()
1611 t->pgid = pgid; /* struct */ in calc_target()
1612 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1940 hoid->hash = t->pgid.seed; in hoid_fill_from_target()
1970 __func__, req, req->r_tid, osd->o_osd, backoff->spgid.pgid.pool, in should_plug_request()
1971 backoff->spgid.pgid.seed, backoff->spgid.shard, backoff->id); in should_plug_request()
2051 static void encode_pgid(void **p, const struct ceph_pg *pgid) in encode_pgid() argument
2054 ceph_encode_64(p, pgid->pool); in encode_pgid()
2055 ceph_encode_32(p, pgid->seed); in encode_pgid()
2062 encode_pgid(p, &spgid->pgid); in encode_spgid()
2099 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
2180 struct ceph_pg pgid; in encode_request_finish() local
2196 pgid.pool = ceph_decode_64(&p); in encode_request_finish()
2224 pgid.seed = le32_to_cpu(head.hash); in encode_request_finish()
2225 encode_pgid(&p, &pgid); /* raw pg */ in encode_request_finish()
2279 __func__, req, req->r_tid, req->r_t.pgid.pool, req->r_t.pgid.seed, in send_request()
2280 req->r_t.spgid.pgid.pool, req->r_t.spgid.pgid.seed, in send_request()
3579 struct ceph_pg pgid; member
3607 ret = ceph_decode_pgid(&p, end, &m->pgid); in decode_MOSDOpReply()
3708 __func__, req, req->r_tid, m.flags, m.pgid.pool, m.pgid.seed, in handle_reply()
3752 req->r_t.pgid.pool = 0; in handle_reply()
3753 req->r_t.pgid.seed = 0; in handle_reply()
4239 ret = ceph_decode_pgid(&p, end, &m->spgid.pgid); in decode_MOSDBackoff()
4322 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_block()
4382 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4387 __func__, osd->o_osd, m->spgid.pgid.pool, in handle_backoff_unblock()
4388 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4395 __func__, osd->o_osd, m->spgid.pgid.pool, in handle_backoff_unblock()
4396 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()