]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: clean up OpContext use in do_op
authorSamuel Just <samuel.just@dreamhost.com>
Wed, 15 Jun 2011 23:57:02 +0000 (16:57 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Wed, 22 Jun 2011 18:41:17 +0000 (11:41 -0700)
commit965aadc4c7d33d2332fdf6b3995880b10ffb8cd2
tree2f46a5bf33b3dca64b19c2ba7ee2f0a73c4e6ece
parent3f4e11e1116e6998f9b9b43a6fa1a5e7433f8757
ReplicatedPG: clean up OpContext use in do_op

do_op, make_writeable, and friends now update new_obs, new_snapset, and
new_stats rather than updating those structures directly in case the
transaction fails to apply.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h