]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/: replace simple_repop_.* with simple_opc_.*
authorSamuel Just <sjust@redhat.com>
Wed, 11 Nov 2015 20:40:16 +0000 (12:40 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 25 Feb 2016 18:56:40 +0000 (10:56 -0800)
commit5110214337c8cc73676b30f15abc9f262064274f
tree2199214f7ce2454cb4418b25fe33924a24e49abe
parent6db7fe7de32689c8185ceb1f350ebe94841f0781
osd/: replace simple_repop_.* with simple_opc_.*

This way, we don't expose the RepGather structure
up into the users (which pretty much exclusively
use the repop->ctx member anyway).  This will pave
the way to removing RepGather::ctx.

Part of this involves generalizing the repop callback
members (queue_snap_trimmer and on_applied) to
on_applied, on_committed, on_success, and on_finish
on both OpContext and RepGather.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h