Bug 1335729

Summary: mount/fuse: Logging improvements
Product: [Community] GlusterFS Reporter: Krutika Dhananjay <kdhananj>
Component: fuseAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.11CC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1335091 Environment:
Last Closed: 2016-06-28 12:17:59 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: 1335091, 1335730    
Bug Blocks:    

Description Krutika Dhananjay 2016-05-13 06:25:53 UTC
+++ This bug was initially created as a clone of Bug #1335091 +++

Description of problem:

When writev or readv fail, fuse merely prints the error string. It would be beneficial if it also printed the gfid/path/fd etc if available, for debugging.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Vijay Bellur on 2016-05-11 07:11:41 EDT ---

REVIEW: http://review.gluster.org/14291 (mount/fuse: Log gfid and fd ptr as well when writev/readv fail) posted (#1) for review on master by Krutika Dhananjay (kdhananj)

--- Additional comment from Vijay Bellur on 2016-05-13 00:40:31 EDT ---

COMMIT: http://review.gluster.org/14291 committed in master by Raghavendra G (rgowdapp) 
------
commit 12d1c993660d6ae93b0fd08de9a6d7bb7431e7b0
Author: Krutika Dhananjay <kdhananj>
Date:   Wed May 11 16:39:59 2016 +0530

    mount/fuse: Log gfid and fd ptr as well when writev/readv fail
    
    Change-Id: Iaed3850171155f2452fc29ebecd350c2da0b55cb
    BUG: 1335091
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/14291
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 1 Vijay Bellur 2016-05-13 06:27:12 UTC
REVIEW: http://review.gluster.org/14323 (mount/fuse: Log gfid and fd ptr as well when writev/readv fail) posted (#1) for review on release-3.7 by Krutika Dhananjay (kdhananj)

Comment 2 Vijay Bellur 2016-05-16 05:57:04 UTC
COMMIT: http://review.gluster.org/14323 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit bead4b82398f478941c2c9153d848f528fbe361e
Author: Krutika Dhananjay <kdhananj>
Date:   Wed May 11 16:39:59 2016 +0530

    mount/fuse: Log gfid and fd ptr as well when writev/readv fail
    
            Backport of: http://review.gluster.org/14291
    
    
    Change-Id: I0c9ff4b5d11075ae0ebd46039d764401aea36cbb
    BUG: 1335729
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/14323
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 3 Kaushal 2016-06-28 12:17:59 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.7.12, please open a new bug report.

glusterfs-3.7.12 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-devel/2016-June/049918.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user