Bug 1204651

Summary: libgfapi : Anonymous fd support in gfapi
Product: [Community] GlusterFS Reporter: Jiffin <jthottan>
Component: libgfapiAssignee: Jiffin <jthottan>
Status: CLOSED CURRENTRELEASE QA Contact: Sudhir D <sdharane>
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, gluster-bugs
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1218554 (view as bug list) Environment:
Last Closed: 2016-06-16 12:45:03 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:    
Bug Blocks: 1218554    

Description Jiffin 2015-03-23 10:07:36 UTC
Description of problem:

In the current libgfapi, fd's are obtained by explicit file open. But in gluster world there is already support for anonymous fd's which are obtained without a explicit a file open. So libgfapi should stimulate the same.

Comment 1 Anand Avati 2015-03-23 10:12:04 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support in libgfapi) posted (#1) for review on master by jiffin tony Thottan (jthottan)

Comment 2 Anand Avati 2015-03-26 15:51:28 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support in libgfapi) posted (#2) for review on master by jiffin tony Thottan (jthottan)

Comment 3 Anand Avati 2015-03-27 04:54:05 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support in libgfapi) posted (#3) for review on master by jiffin tony Thottan (jthottan)

Comment 4 Anand Avati 2015-04-02 09:58:08 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support in libgfapi) posted (#4) for review on master by jiffin tony Thottan (jthottan)

Comment 5 Anand Avati 2015-04-07 09:05:35 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#5) for review on master by jiffin tony Thottan (jthottan)

Comment 6 Anand Avati 2015-04-10 13:59:24 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#6) for review on master by jiffin tony Thottan (jthottan)

Comment 7 Anand Avati 2015-04-13 06:32:29 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#7) for review on master by jiffin tony Thottan (jthottan)

Comment 8 Anand Avati 2015-04-22 08:44:18 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#8) for review on master by jiffin tony Thottan (jthottan)

Comment 9 Anand Avati 2015-04-22 10:49:52 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#9) for review on master by jiffin tony Thottan (jthottan)

Comment 10 Anand Avati 2015-04-23 06:42:52 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#10) for review on master by jiffin tony Thottan (jthottan)

Comment 11 Anand Avati 2015-04-27 04:57:37 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#11) for review on master by jiffin tony Thottan (jthottan)

Comment 12 Anand Avati 2015-04-28 12:59:45 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#12) for review on master by jiffin tony Thottan (jthottan)

Comment 13 Anand Avati 2015-05-05 06:02:10 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#13) for review on master by jiffin tony Thottan (jthottan)

Comment 14 Anand Avati 2015-05-05 09:51:48 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#14) for review on master by jiffin tony Thottan (jthottan)

Comment 15 Anand Avati 2015-05-05 11:02:38 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#15) for review on master by jiffin tony Thottan (jthottan)

Comment 16 Anand Avati 2015-05-05 19:56:39 UTC
REVIEW: http://review.gluster.org/9971 (libgfapi : anonymous fd support) posted (#16) for review on master by Niels de Vos (ndevos)

Comment 17 Anand Avati 2015-05-06 01:05:50 UTC
COMMIT: http://review.gluster.org/9971 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit fa0ad231745846918b2625d0e1a89c0a5c3c24dc
Author: Jiffin Tony Thottan <jthottan>
Date:   Wed Mar 11 14:20:48 2015 +0530

    libgfapi : anonymous fd support
    
    Anonymous fd's are floating fd assigned to a glusterfs client
    without a explicit file open. Here either it will create a new
    anonymous fd or existing anonymous fd in the client stack for
    requested file.The anonymous fd's are mainly used for IO's.
    This patch introduces two api's glfs_h_anonymous_read and
    glfs_h_anonymous_write which performs read and write respectively
    
    Change-Id: Id646f2220e8387b2f8bb244c848dc1db6761444f
    BUG: 1204651
    Signed-off-by: Jiffin Tony Thottan <jthottan>
    Reviewed-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/9971
    Tested-by: Gluster Build System <jenkins.com>

Comment 18 Nagaprasad Sathyanarayana 2015-10-25 14:53:17 UTC
Fix for this bug is already made in a GlusterFS release. The cloned BZ has details of the fix and the release. Hence closing this mainline BZ.

Comment 19 Nagaprasad Sathyanarayana 2015-10-25 15:10:47 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 20 Niels de Vos 2016-06-16 12:45:03 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user