]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: copy: use aggregate return code instead of individual Op return
authorGreg Farnum <greg@inktank.com>
Mon, 7 Oct 2013 20:11:21 +0000 (13:11 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 7 Oct 2013 20:50:30 +0000 (13:50 -0700)
commit4b911cf81773d43f3574724a0ac97c79e1ab2b22
tree43621652bb9ae03f864f575bdd91f1704824000a
parent6da4b91c07878e07f23eee563cf1d2422f348c2f
ReplicatedPG: copy: use aggregate return code instead of individual Op return

It appears that the OSD is not filling in the individual return codes, and they
should be equivalent for all purposes we care about here (the only Op we are
doing is the copy-get, and if it fails we are getting its failure code).

Reported-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc