]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
buffer: increment history alloc as well in raw_combined 7910/head
authorSamuel Just <sjust@redhat.com>
Thu, 3 Mar 2016 19:04:14 +0000 (11:04 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 3 Mar 2016 19:07:29 +0000 (11:07 -0800)
Introduced in 73dcd26fc8798e09d93520c583d63edb28ffc631

Fixes: #14955
Signed-off-by: Samuel Just <sjust@redhat.com>
src/common/buffer.cc

index ae1ffbe4b3f3d97675a561120da6fd4fcc854c7f..93c836660181b2fcf6a27b456b69870c1462b616 100644 (file)
@@ -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);