[Bugs] [Bug 1404654] New: io-stats miss statistics when fh is not newly created

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 14 11:16:12 UTC 2016


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

            Bug ID: 1404654
           Summary: io-stats miss statistics when fh is not newly created
           Product: GlusterFS
           Version: mainline
         Component: io-stats
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: cheneydeng88 at gmail.com
                CC: bugs at gluster.org



Description of problem:
The debug/io-stats only do the "ios_inode_ctx_set" in procedure open,create and
mkdir.This bug made the statistic will miss if the entry is not created during
the lifetime of the current server/nfs process.


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

How reproducible:
Add some logs to the "io_stats_readv_cbk" and do a read request.
Steps to Reproduce:
1. Add log in the "io_stats_readv_cbk" to differentiate if the inode ctx found.
2. create a file A.
3. restart the server/nfs.
4. read file A and watch the log it will show no ctx found and do no
statistics.
5. create a file B.
6. read the file B and watch the log it will show ctx found and do statistics.

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