]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: handle promotion of rollback, src_oids, etc.
authorSage Weil <sage@inktank.com>
Mon, 30 Dec 2013 22:56:54 +0000 (14:56 -0800)
committerSage Weil <sage@inktank.com>
Tue, 14 Jan 2014 00:19:47 +0000 (16:19 -0800)
commit7eede85f8fab8ee60db57f17e07e8fad18ad4fc8
tree571c379f5a52e015679e1d84e8938165ffaf5899
parentac446b5df33e930f0c6e5e4fe0cd0d9bb620a474
osd/ReplicatedPG: handle promotion of rollback, src_oids, etc.

Make other find_object_context() callers handle the case where the object
in question needs to be promoted.  We add a flag here that forces a promote
for these secondary objects so that the entire operation happens in the
same pool.  Forwarding is not allowed in this case.

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