[Bugs] [Bug 1342348] New: Log parameters such as the gfid, fd address, offset and length of the reads upon failure for easier debugging

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 3 04:16:14 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1342348

            Bug ID: 1342348
           Summary: Log parameters such as the gfid, fd address, offset
                    and length of the reads upon failure for easier
                    debugging
           Product: GlusterFS
           Version: 3.7.11
         Component: posix
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: kdhananj at redhat.com
                CC: bugs at gluster.org
        Depends On: 1341009



+++ This bug was initially created as a clone of Bug #1341009 +++

Description of problem:


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-31 01:54:23 EDT ---

REVIEW: http://review.gluster.org/14271 (storage/posix: Print offset,size and
gfid too when readv fails) posted (#3) for review on master by Krutika
Dhananjay (kdhananj at redhat.com)

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

COMMIT: http://review.gluster.org/14271 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit b5590f1db641a22ea515c9c4760a593d3342ffa0
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Mon May 9 16:53:19 2016 +0530

    storage/posix: Print offset,size and gfid too when readv fails

    ... for better debuggability.

    Here's a sample log:

    [2016-05-31 05:18:34.893951] E [MSGID: 113040] [posix.c:3089:posix_readv]
    0-dis-posix: read failed on gfid=3744d34b-f798-4ce2-b421-cc632a9903bd,
    fd=0x7f8b3c015abc, offset=131072 size=131072 [Invalid argument]

    Change-Id: I069c17fecbb01a4a2b5dea1eb482c7f56a191fd3
    BUG: 1341009
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/14271
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Ashish Pandey <aspandey at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1341009
[Bug 1341009] Log parameters such as the gfid, fd address, offset and
length of the reads upon failure for easier debugging
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list