[Bugs] [Bug 1442950] New: RFE: Enhance handleops readdirplus operation to return handles along with dirents

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 18 07:33:17 UTC 2017


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

            Bug ID: 1442950
           Summary: RFE: Enhance handleops readdirplus operation to return
                    handles along with dirents
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: skoduri at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:

Any application using glfs handles (like NFS-Ganesha) may need to do lookup on
each dirent returned by readdir/readdirp operation to create handles. But since
the lookup in glusterfs is very costly operation (as need to be sent to all
replica bricks), as the directory gets larger or the replica count increases,
the time taken for single readdir operation to complete can take hours of time.

To avoid that we need an extended readdirp API which can return handles along
with dirent stat as part of its reply.

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 the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list