]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/MDLog.cc Fix perf counter type for jlat 13449/head
authorXiaoxi Chen <xiaoxchen@ebay.com>
Thu, 16 Feb 2017 03:28:03 +0000 (20:28 -0700)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Thu, 16 Feb 2017 03:28:03 +0000 (20:28 -0700)
commit9466f2ebb6d8628f99c471f669fccee1c791de6d
treedb7194614c58fe74285a59361b2a37bc3edce709
parenteb491a13dc2faee315bf894fc2043aacfb94d624
mds/MDLog.cc Fix perf counter type for jlat

jlat (journal latency) should be PERFCOUNTER_TIME | PERFCOUNTER_LONGRUNAVG
instead of PERFCOUNTER_U64

Current code with PERFCOUNTER_U64 make PerfCounters::tinc return
directly thus jlat will always be zero.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
src/mds/MDLog.cc