]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/ObjectCacher: limit memory usage of BufferHead 18183/head
authorYan, Zheng <zyan@redhat.com>
Mon, 9 Oct 2017 10:00:38 +0000 (18:00 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 9 Oct 2017 10:28:20 +0000 (18:28 +0800)
commit27db0255992354e15b4285891a33fede6849cf62
tree9064997cef97bdeaa250eac1fa069523f80125b4
parent96ddf5c3a0d962dce0aae0fb06d27fbad696c835
osdc/ObjectCacher: limit memory usage of BufferHead

when doing small size random writes, size of data structures that used
for tracking dirty data can be larger than the dirty data size.

Fixes: http://tracker.ceph.com/issues/21726
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h