Bug 1335730

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

Description Krutika Dhananjay 2016-05-13 06:28:17 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:29:15 UTC
REVIEW: http://review.gluster.org/14324 (mount/fuse: Log gfid and fd ptr as well when writev/readv fail) posted (#1) for review on release-3.8 by Krutika Dhananjay (kdhananj)

Comment 2 Vijay Bellur 2016-05-14 14:17:16 UTC
COMMIT: http://review.gluster.org/14324 committed in release-3.8 by Niels de Vos (ndevos) 
------
commit 95afed38767610313dbf1cfdc871d7648ce68d33
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: I9100c7d75417b0c9bc3df112912cf773994b3a97
    BUG: 1335730
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/14324
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Niels de Vos <ndevos>

Comment 3 Niels de Vos 2016-06-16 14:06:29 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