Skip to content

Commit

Permalink
buffer: increment history alloc as well in raw_combined
Browse files Browse the repository at this point in the history
Introduced in 73dcd26

Fixes: ceph#14955
Signed-off-by: Samuel Just <[email protected]>
  • Loading branch information
athanatos committed Mar 3, 2016
1 parent 3a1b307 commit 1335871
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1335871

Please sign in to comment.