]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: move watch/notify effects out of do_osd_ops
authorSage Weil <sage@newdream.net>
Tue, 26 Apr 2011 20:39:58 +0000 (13:39 -0700)
committerSage Weil <sage@newdream.net>
Tue, 26 Apr 2011 20:39:58 +0000 (13:39 -0700)
commit6025dee1b435393b0ca6463ec9d10aef15af8a05
treeea1bdf5ea587d2da4586d31f79b9eaa0548b22cc
parentccf11fbe333bfb1ec6d7b925443604382795aefd
osd: move watch/notify effects out of do_osd_ops

Apply watch/notify side effects in do_osd_op_effects() only if the
transaction will succeed.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h
src/osd/osd_types.h