Searched refs:spgid (Results 1 – 5 of 5) sorted by relevance
| /linux/net/ceph/ |
| H A D | debugfs.c | 182 static void dump_spgid(struct seq_file *s, const struct ceph_spg *spgid) in dump_spgid() argument 184 seq_printf(s, "%llu.%x", spgid->pgid.pool, spgid->pgid.seed); in dump_spgid() 185 if (spgid->shard != CEPH_SPG_NOSHARD) in dump_spgid() 186 seq_printf(s, "s%d", spgid->shard); in dump_spgid() 194 dump_spgid(s, &t->spgid); in dump_target() 337 dump_spgid(s, &backoff->spgid); in dump_backoffs()
|
| H A D | osd_client.c | 444 dest->spgid = src->spgid; /* struct */ in target_copy() 1676 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target() 1744 DEFINE_RB_FUNCS2(spg_mapping, struct ceph_spg_mapping, spgid, ceph_spg_compare, in DEFINE_RB_FUNCS2() argument 2024 spg = lookup_spg_mapping(&osd->o_backoff_mappings, &req->r_t.spgid); in should_plug_request() 2034 __func__, req, req->r_tid, osd->o_osd, backoff->spgid.pgid.pool, in should_plug_request() 2035 backoff->spgid.pgid.seed, backoff->spgid.shard, backoff->id); in should_plug_request() 2124 static void encode_spgid(void **p, const struct ceph_spg *spgid) in encode_spgid() argument 2127 encode_pgid(p, &spgid->pgid); in encode_spgid() 2128 ceph_encode_8(p, spgid->shard); in encode_spgid() 2163 encode_spgid(&p, &req->r_t.spgid); /* actual spg */ in encode_request_partial() [all …]
|
| H A D | osdmap.c | 2843 struct ceph_spg *spgid) in ceph_pg_to_primary_shard() argument 2853 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard() 2854 spgid->shard = CEPH_SPG_NOSHARD; in ceph_pg_to_primary_shard() 2861 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard() 2862 spgid->shard = i; in ceph_pg_to_primary_shard()
|
| /linux/include/linux/ceph/ |
| H A D | osd_client.h | 215 struct ceph_spg spgid; /* last actual spg we mapped to */ member 363 struct ceph_spg spgid; member 397 struct ceph_spg spgid; member
|
| H A D | osdmap.h | 311 struct ceph_spg *spgid);
|