]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: do not do a redundant set of ctx->new_obs.oi.version
authorGreg Farnum <greg@inktank.com>
Thu, 22 Aug 2013 21:54:19 +0000 (14:54 -0700)
committerGreg Farnum <greg@inktank.com>
Wed, 28 Aug 2013 00:00:44 +0000 (17:00 -0700)
commit1f608bd967d177773b14a6020fbc11b2fc52d56a
tree951598cee8bfc93e40aad5f2f82b9985f4e40f97
parent37bba41be6cc195629753f5ca844776233d332d1
ReplicatedPG: do not do a redundant set of ctx->new_obs.oi.version

We set this in the if below for writes, and for reads it doesn't need to
be updated (and isn't). Remove the confusing double-set so future code
inspectors don't get concerned there's a bug like I did.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/ReplicatedPG.cc