]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: copy: switch out the CopyCallback interface
authorGreg Farnum <greg@inktank.com>
Wed, 9 Oct 2013 23:16:36 +0000 (16:16 -0700)
committerSage Weil <sage@inktank.com>
Sat, 14 Dec 2013 00:35:51 +0000 (16:35 -0800)
commit325aae365244f5806fde310dae2a286abf8e6ac2
tree5a6b28628742fe7cfa914104868728603999d61c
parent29cc72299872e71d927bb09791e8c17176c209db
ReplicatedPG: copy: switch out the CopyCallback interface

The tuple was already unwieldy with 4 members; I didn't want to add
more. Instead, create a new CopyResults struct which contains all the
object info and completion data, and pass the retval and a CopyResults*
in the CopyCallbackResults tuple.

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