]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Only write bufferhead when it's dirty 2149/head
authorHaomai Wang <haomaiwang@gmail.com>
Sun, 27 Jul 2014 05:37:49 +0000 (13:37 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Sun, 27 Jul 2014 05:37:49 +0000 (13:37 +0800)
commitde9cfcaa7d12741a87696db74eed90ef9457b8d3
tree8bcf16381cb9be9ec4aedb48e34becde8f46a25d
parent1c26266dbf627e089e61d35507a48eb9b02d1596
Only write bufferhead when it's dirty

The TX state bh should be skipped because the bh should be inflight. We only
need to write dirty bh. And TX and dirty state bh both should be waited until
flushed.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/osdc/ObjectCacher.cc