]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: separate promotion from the triggering op
authorSage Weil <sage@redhat.com>
Mon, 17 Nov 2014 22:02:39 +0000 (14:02 -0800)
committerSage Weil <sage@redhat.com>
Sun, 11 Jan 2015 04:35:03 +0000 (20:35 -0800)
commit9ed2ac780ec81858fc9230501ac84b631686ccd9
treed6e34784662da18cf3f63e435332cdc2e956701a
parenta03d375ed030462dc68df9fa0cf501ef5fbe1ee2
osd/ReplicatedPG: separate promotion from the triggering op

Remove the triggering op from the internal promote machinery.

We keep the optional op arg to promote_object() only because we may
block on an object other than the original obc.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h