]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
journaler: check return code on _finish_write_head.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 18 Apr 2011 21:34:14 +0000 (14:34 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 18 Apr 2011 21:34:14 +0000 (14:34 -0700)
commite6393525cfbadcd441c4e686a519ff315c4aeb9b
treeae1de5a38d0c4fd14683044af389c2c92df3085d
parent42a7013907e312d864cfcf591cca932cf9f343b2
journaler: check return code on _finish_write_head.

If we get an error code and assume we successfully wrote the head,
there are going to be all kinds of issues on replay!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/osdc/Journaler.cc
src/osdc/Journaler.h