[Bugs] [Bug 1342348] 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 07:20:34 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14625 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit bac2781a2d3f26d09fd5687fd519b4cb4bdba1f4
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.

            Backport of: http://review.gluster.org/14271

    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: Ied15223b25dbde9ffc40af5012d96164a32fb7c3
    BUG: 1342348
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/14625
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>

-- 
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