| 149 | } |
| 150 | |
| 151 | void 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 | |
| 164 | void ParallelPGMapper::queue( |
| 165 | Job *job, |
nothing calls this directly
no test coverage detected