]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: simplify creation logic in do_osd_ops
authorSage Weil <sage@newdream.net>
Tue, 13 Dec 2011 23:03:36 +0000 (15:03 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 14 Dec 2011 17:26:02 +0000 (09:26 -0800)
commit6c8f60f6a6c3e8e22889140c52554fd9ab4b0612
tree2852d7fc4113f4cbe21403bfd0eff365dc541bf9
parent7133a2faf0ae0710b7cbd9801c64767172d48faf
osd: simplify creation logic in do_osd_ops

Drop the maybe_created variable, and track exists over the course of the
transaction.

Fixes: #1825
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/osd/ReplicatedPG.cc