]> 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)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 21 Jul 2014 21:13:11 +0000 (14:13 -0700)
commit8a05f1ba0e58f8558ddf8b525df10db333f4a226
tree14e051d6c75b444e30a793c6791c8b787086157a
parentd3587419da8add59d6fc4379a7124213326e457e
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