[Bugs] [Bug 1688106] New: Remove implementation of number of files opened in posix xlator

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 13 07:13:45 UTC 2019


            Bug ID: 1688106
           Summary: Remove implementation of number of files opened in
                    posix xlator
           Product: GlusterFS
           Version: mainline
            Status: NEW
         Component: posix
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community

Description of problem:
nr_files is supposed to represent the number of files opened in posix.
Present logic doesn't seem to handle anon-fds because of which the
counts would always be wrong.

I don't remember anyone using this value in debugging any problem probably
because we always have 'ls -l /proc/<pid>/fd' which not only prints the
fds that are active but also prints their paths. It also handles directories
and anon-fds which actually opened the file. So it is better to remove this
code instead of fixing the buggy logic to have the nr_files.

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

How reproducible:

Steps to Reproduce:

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