Bug 1030021

Summary: Tracker for downstream RHS product: gfapi: introduce glfs_readdir() and glfs_readdirplus() APIs
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Tushar Katarki <tkatarki>
Component: glusterfs-develAssignee: Raghavendra Talur <rtalur>
Status: CLOSED ERRATA QA Contact: Sachidananda Urs <surs>
Severity: medium Docs Contact:
Priority: high    
Version: 2.1CC: grajaiya, psriniva, rhs-bugs, rtalur, ssaha, vagarwal, vbellur, vraman
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.49rhs Doc Type: Enhancement
Doc Text:
With this enhancement, the glfs_readdir and glfs_readdirplus calls based on POSIX readdir() are added in libgfapi. Earlier, Libgfapi had only the glfs_readdir_r() based on Posix's readdir_r().
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 08:03:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1044440    
Bug Blocks:    
Attachments:
Description Flags
Program to test readdir / readdirplus none

Description Tushar Katarki 2013-11-13 17:54:49 UTC
Description of problem:

This is a downstream bug to track the following fix: http://review.gluster.org/#/c/6201/

which is a fix in response to this http://lists.gnu.org/archive/html/gluster-devel/2013-10/msg00082.html

required for testing and validation of libvirt with RHS 2.1.

Comment 2 Raghavendra Talur 2013-12-04 09:19:36 UTC
Patch posted downstream at
https://code.engineering.redhat.com/gerrit/#/c/16779/

Comment 3 Sachidananda Urs 2013-12-30 12:23:15 UTC
Created attachment 843367 [details]
Program to test readdir / readdirplus

Comment 4 Sachidananda Urs 2013-12-30 12:27:01 UTC
Tested with attached program. I can use glfs_readdir and glfs_readdirplus with the latest build.

Comment 6 Pavithra 2014-01-06 10:44:04 UTC
Can you please verify the doc test?

Comment 7 Raghavendra Talur 2014-01-06 11:10:36 UTC
Doc text is accurate.

Comment 9 errata-xmlrpc 2014-02-25 08:03:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html