Bug 1317863
| Summary: | glfs_dup() functionality is broken | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | rjoseph | 
| Component: | libgfapi | Assignee: | bugs <bugs> | 
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sudhir D <sdharane> | 
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.7.9 | CC: | bugs, ndevos, ppai, rjoseph, sdharane, srangana | 
| Target Milestone: | --- | Keywords: | Tracking, Triaged | 
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.10 | Doc Type: | Bug Fix | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1311146 | Environment: | |
| Last Closed: | 2016-04-19 06:59:50 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: | 1311146 | ||
| Bug Blocks: | |||
| 
 
        
          Description
        
        
          rjoseph
        
        
        
        
        
          2016-03-15 11:49:39 UTC
        
       
      
      
      
    REVIEW: http://review.gluster.org/13742 (gfapi: preserve glfd state during glfs_dup) posted (#1) for review on release-3.7 by Rajesh Joseph (rjoseph) REVIEW: http://review.gluster.org/13742 (gfapi: preserve glfd state during glfs_dup) posted (#2) for review on release-3.7 by Rajesh Joseph (rjoseph) REVIEW: http://review.gluster.org/13742 (gfapi: preserve glfd state during glfs_dup) posted (#3) for review on release-3.7 by Niels de Vos (ndevos) COMMIT: http://review.gluster.org/13742 committed in release-3.7 by Niels de Vos (ndevos) ------ commit 4b9853358a8fbec0876383e6b7839e39cc025c0c Author: Rajesh Joseph <rjoseph> Date: Wed Mar 9 22:05:18 2016 +0530 gfapi: preserve glfd state during glfs_dup Following patch introduced a new state variable in glfd to track the current status of the fd. http://review.gluster.org/13340/ But this state was not copied in glfd_dup function. Backport of commit 5bdfaf98904a339144bf3a237b162e8385b95085: > BUG: 1311146 > Change-Id: I283f8944035f6defe491f81e13d7ef28fc440572 > Signed-off-by: Rajesh Joseph <rjoseph> > Reviewed-on: http://review.gluster.org/13666 > Smoke: Gluster Build System <jenkins.com> > Reviewed-by: Prashanth Pai <ppai> > Tested-by: Prashanth Pai <ppai> > NetBSD-regression: NetBSD Build System <jenkins.org> > CentOS-regression: Gluster Build System <jenkins.com> > Reviewed-by: Raghavendra Talur <rtalur> > Reviewed-by: Niels de Vos <ndevos> Change-Id: I283f8944035f6defe491f81e13d7ef28fc440572 BUG: 1317863 Signed-off-by: Rajesh Joseph <rjoseph> Reviewed-on: http://review.gluster.org/13742 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Niels de Vos <ndevos> Smoke: Gluster Build System <jenkins.com> The merged patch only reverts to the previous (broken) behaviour of glfs_dup(). It is not the final fix. (Added the Tracking keyword to prevent scripts from complaining about the status) 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.7.10, please open a new bug report. glusterfs-3.7.10 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] https://www.gluster.org/pipermail/gluster-users/2016-April/026164.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user  |