]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/ObjectCacher: limit memory usage of BufferHead 18298/head
authorYan, Zheng <zyan@redhat.com>
Mon, 9 Oct 2017 10:00:38 +0000 (18:00 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Sat, 14 Oct 2017 00:23:47 +0000 (17:23 -0700)
commitf353a1e805f4be3e31d8c3346f0f41fa2619c770
treeeef7dd07e35678e7b2cbefbc933c864b599c7a2f
parent5695829ffd72a03f5611393c6037caf73ff1e813
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>
(cherry picked from commit 27db0255992354e15b4285891a33fede6849cf62)
src/osdc/ObjectCacher.cc
src/osdc/ObjectCacher.h