]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: factor {execute,reply}_ctx() out of do_op()
authorSage Weil <sage@inktank.com>
Sun, 25 Aug 2013 04:58:11 +0000 (21:58 -0700)
committerSage Weil <sage@inktank.com>
Fri, 30 Aug 2013 23:57:25 +0000 (16:57 -0700)
commit8d74f417eac3cfcfb0b99fdf0734e210447798ae
treec04ddd588d4146505eb48a08a3959cad44fb0790
parentbc99437ef66982f99593660ae3c4606b488a59d2
osd/ReplicatedPG: factor {execute,reply}_ctx() out of do_op()

Separate the processing of an OpContext from the preamble and
allocation, so that we can delay the execution for some ops (like the
COPYFROM operation we're about to add).

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