]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: fix Finisher perf counter
authorJohn Spray <john.spray@redhat.com>
Tue, 12 Aug 2014 16:45:40 +0000 (17:45 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:18 +0000 (01:34 +0100)
commit6373112060cae6ad7d38e3849b482c2da1736eea
tree0d9e20573686ce57c0023effff479a88ee2b97aa
parent13fbefadbfd4aa770aa6feeb46131da75398cfa7
common: fix Finisher perf counter

This was declared as a long running average
but then .dec() was called on it, which
triggers an assertion.

You only have this problem if you pass a name
argument to Finisher::Finisher, which we mostly
don't do, but may as well fix this anyway.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/Finisher.h