]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ObjectCacher: fix dirty_or_tx_bh logic in bh_set_state()
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 21 Jul 2014 21:08:44 +0000 (14:08 -0700)
committerHaomai Wang <haomaiwang@gmail.com>
Sun, 27 Jul 2014 05:36:19 +0000 (13:36 +0800)
commit727ac1d08436c85ed19e0f166d16e50e195ef55f
treed4de870ece439af1c9cd901f95f160501b7f6de0
parent5283cfee5b067a338e069980bbc3205a6766134d
ObjectCacher: fix dirty_or_tx_bh logic in bh_set_state()

The else-if chain here was wrong. Handling dirty or tx buffers and
errors should be in independent conditions.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/osdc/ObjectCacher.cc