[Bugs] [Bug 1578721] New: Statedump prints memory usage statistics twice

bugzilla at redhat.com bugzilla at redhat.com
Wed May 16 09:27:01 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1578721

            Bug ID: 1578721
           Summary: Statedump prints memory usage statistics twice
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org



Description of problem:

Before the fix:
pk at localhost - /var/run/gluster 
14:55:45 :( ⚡ sudo grep ioc_t glusterdump.31395.dump.1526458170 
[performance/io-cache.r3-io-cache - usage-type gf_ioc_mt_ioc_table_t memusage]
[performance/io-cache.r3-io-cache - usage-type gf_ioc_mt_ioc_table_t memusage]

After the fix:
pk at localhost - /var/run/gluster 
14:55:47 :) ⚡ sudo grep ioc_t glusterdump.11980.dump.1526460969 
[performance/io-cache.r3-io-cache - usage-type gf_ioc_mt_ioc_table_t memusage]

Csaba found that statedump of fusemount has two instances of
each of the mem-accounting information. On debugging, I realized
that statedump is called for both ctx->master and ctx->active.
Since ctx->active is a sub-graph of ctx->master, there are duplicate
entries.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list