Bug 1005159

Summary: writes on cifs mount fails with "Bad file descriptor" when we perform changes to client graph
Product: [Community] GlusterFS Reporter: Poornima G <pgurusid>
Component: libgfapiAssignee: Poornima G <pgurusid>
Status: CLOSED CURRENTRELEASE QA Contact: Sudhir D <sdharane>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: gluster-bugs, lmohanty, spandura
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1004765 Environment:
Last Closed: 2014-04-17 11:47: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: 1004765    
Bug Blocks:    

Comment 1 Anand Avati 2013-09-06 10:51:01 UTC
REVIEW: http://review.gluster.org/5837 (gfapi: store the open/create flags in fd_t object) posted (#1) for review on master by poornima g (pgurusid)

Comment 2 Anand Avati 2013-09-06 22:58:00 UTC
COMMIT: http://review.gluster.org/5837 committed in master by Anand Avati (avati) 
------
commit 1955f7dc84239f23660e23e637f9ddcc672cbeb7
Author: Poornima <pgurusid>
Date:   Fri Sep 6 16:13:30 2013 +0530

    gfapi: store the open/create flags in fd_t object
    
    The flags passed on to open and create calls were not being saved
    in the fd_t object, hence the fd migration was failing.
    
    Change-Id: I486bb818477fe4c393d64a711534a082162a0e53
    BUG: 1005159
    Signed-off-by: Poornima <pgurusid>
    Reviewed-on: http://review.gluster.org/5837
    Reviewed-by: Amar Tumballi <amarts>
    Reviewed-by: Raghavendra Bhat <raghavendra>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Anand Avati <avati>

Comment 3 Anand Avati 2013-09-10 00:51:13 UTC
REVIEW: http://review.gluster.org/5873 (gfapi: store the open/create flags in fd_t object) posted (#1) for review on release-3.4 by Anand Avati (avati)

Comment 4 Anand Avati 2013-09-10 01:05:39 UTC
REVIEW: http://review.gluster.org/5873 (gfapi: store the open/create flags in fd_t object) posted (#2) for review on release-3.4 by Anand Avati (avati)

Comment 5 Anand Avati 2013-09-10 08:16:13 UTC
COMMIT: http://review.gluster.org/5873 committed in release-3.4 by Vijay Bellur (vbellur) 
------
commit 49f073ec63d0ede22a390bf1ac33939dd65b6241
Author: Poornima <pgurusid>
Date:   Fri Sep 6 16:13:30 2013 +0530

    gfapi: store the open/create flags in fd_t object
    
    The flags passed on to open and create calls were not being saved
    in the fd_t object, hence the fd migration was failing.
    
    Change-Id: I486bb818477fe4c393d64a711534a082162a0e53
    BUG: 1005159
    Signed-off-by: Poornima <pgurusid>
    Reviewed-on: http://review.gluster.org/5873
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 6 Niels de Vos 2014-04-17 11:47:30 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.5.0, please reopen this bug report.

glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user