From: Samuel Just Date: Thu, 3 Mar 2016 19:04:14 +0000 (-0800) Subject: buffer: increment history alloc as well in raw_combined X-Git-Tag: v10.1.0~229^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1335871f3f6efee7b01cefbc7d3645b068fcefa2;p=ceph.git buffer: increment history alloc as well in raw_combined Introduced in 73dcd26fc8798e09d93520c583d63edb28ffc631 Fixes: #14955 Signed-off-by: Samuel Just --- diff --git a/src/common/buffer.cc b/src/common/buffer.cc index ae1ffbe4b3f3..93c836660181 100644 --- a/src/common/buffer.cc +++ b/src/common/buffer.cc @@ -250,6 +250,7 @@ static simple_spinlock_t buffer_debug_lock = SIMPLE_SPINLOCK_INITIALIZER; : raw(dataptr, l), alignment(align) { inc_total_alloc(len); + inc_history_alloc(len); } ~raw_combined() { dec_total_alloc(len);