]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: simplify copy-from temp object handling
authorSage Weil <sage@inktank.com>
Sun, 5 Jan 2014 19:36:55 +0000 (11:36 -0800)
committerSage Weil <sage@inktank.com>
Tue, 14 Jan 2014 00:19:48 +0000 (16:19 -0800)
commitcd42368e3c6f27dd704103ced83d58ceff6586d7
treed17f765f515279a8036c5c058794ed73018393ef
parent1a7335d535bce44bd1fa6a684578e1c5d6b5681f
osd/ReplicatedPG: simplify copy-from temp object handling

Previously the caller was generating a temp object name and passing it
down in severaly different ways.  Instead, generate one when we realize
that we need it, and store it in *one* place (CopyResults), where
the completions can get at the information.

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