Signed-off-by: Sage Weil <sage@redhat.com>
void OSD::dequeue_peering_evt(
+ OSDShard *sdata,
PG *pg,
PGPeeringEventRef evt,
ThreadPool::TPHandle& handle)
}
void OSD::dequeue_delete(
+ OSDShard *sdata,
PG *pg,
epoch_t e,
ThreadPool::TPHandle& handle)
{
dequeue_peering_evt(
+ sdata,
pg,
PGPeeringEventRef(
std::make_shared<PGPeeringEvent>(
spg_t pgid,
PGPeeringEventRef ref);
void dequeue_peering_evt(
+ OSDShard *sdata,
PG *pg,
PGPeeringEventRef ref,
ThreadPool::TPHandle& handle);
void dequeue_delete(
+ OSDShard *sdata,
PG *pg,
epoch_t epoch,
ThreadPool::TPHandle& handle);
PGRef& pg,
ThreadPool::TPHandle &handle)
{
- osd->dequeue_peering_evt(pg.get(), evt, handle);
+ osd->dequeue_peering_evt(sdata, pg.get(), evt, handle);
}
void PGSnapTrim::run(
PGRef& pg,
ThreadPool::TPHandle &handle)
{
- osd->dequeue_delete(pg.get(), epoch_queued, handle);
+ osd->dequeue_delete(sdata, pg.get(), epoch_queued, handle);
}