MCPcopy Create free account
hub / github.com/ceph/ceph / _process

Method _process

src/osd/OSDMapMapping.cc:151–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void ParallelPGMapper::WQ::_process(Item *i, ThreadPool::TPHandle &h)
152{
153 ldout(m->cct, 20) << __func__ << " " << i->job << " pool " << i->pool
154 << " [" << i->begin << "," << i->end << ")"
155 << " pgs " << i->pgs
156 << dendl;
157 if (!i->pgs.empty())
158 i->job->process(i->pgs);
159 else
160 i->job->process(i->pool, i->begin, i->end);
161 i->job->finish_one();
162}
163
164void ParallelPGMapper::queue(
165 Job *job,

Callers

nothing calls this directly

Calls 3

finish_oneMethod · 0.80
emptyMethod · 0.45
processMethod · 0.45

Tested by

no test coverage detected