Home
last modified time | relevance | path

Searched refs:spgid (Results 1 – 5 of 5) sorted by relevance

/linux/net/ceph/
H A Ddebugfs.c182 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 Dosd_client.c445 dest->spgid = src->spgid; /* struct */ in target_copy()
596 CEPH_PGID_ENCODING_LEN + 1; /* spgid */ in __ceph_osdc_alloc_messages()
1676 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1741 * defined only within a specific spgid; it does not pass anything to
1744 DEFINE_RB_FUNCS2(spg_mapping, struct ceph_spg_mapping, spgid, ceph_spg_compare, in DEFINE_RB_FUNCS2()
1936 * Within a specific spgid, backoffs are managed by ->begin hoid.
2024 spg = lookup_spg_mapping(&osd->o_backoff_mappings, &req->r_t.spgid); in should_plug_request()
2033 dout("%s req %p tid %llu backoff osd%d spgid %llu.%xs%d id %llu\n", in should_plug_request()
2034 __func__, req, req->r_tid, osd->o_osd, backoff->spgid in should_plug_request()
1743 DEFINE_RB_FUNCS2(spg_mapping,struct ceph_spg_mapping,spgid,ceph_spg_compare,RB_BYPTR,const struct ceph_spg *,node) DEFINE_RB_FUNCS2() argument
2123 encode_spgid(void ** p,const struct ceph_spg * spgid) encode_spgid() argument
2233 char spgid[CEPH_ENCODING_START_BLK_LEN + encode_request_finish() member
4302 struct ceph_spg spgid; global() member
[all...]
H A Dosdmap.c2857 struct ceph_spg *spgid) in ceph_pg_to_primary_shard()
2867 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard()
2868 spgid->shard = CEPH_SPG_NOSHARD; in ceph_pg_to_primary_shard()
2875 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard()
2876 spgid->shard = i; in ceph_pg_to_primary_shard()
2855 ceph_pg_to_primary_shard(struct ceph_osdmap * osdmap,struct ceph_pg_pool_info * pi,const struct ceph_pg * raw_pgid,struct ceph_spg * spgid) ceph_pg_to_primary_shard() argument
/linux/include/linux/ceph/
H A Dosd_client.h215 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 Dosdmap.h311 struct ceph_spg *spgid);