]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ObjectCacher: fix bh_{add,remove} dirty_or_tx_bh accounting
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 21 Jul 2014 21:09:48 +0000 (14:09 -0700)
committerHaomai Wang <haomaiwang@gmail.com>
Sun, 27 Jul 2014 05:36:28 +0000 (13:36 +0800)
commit1c26266dbf627e089e61d35507a48eb9b02d1596
treed02a453c4c06c5d942263af18d4241875788abff
parent727ac1d08436c85ed19e0f166d16e50e195ef55f
ObjectCacher: fix bh_{add,remove} dirty_or_tx_bh accounting

tx buffers need to go on the bh_lru_rest as well, and removing erases
(not inserts) them into dirty_or_tx_bh.

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