[Bugs] [Bug 1341009] 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
Tue May 31 09:13:37 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
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>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=DtXR3cBcDY&a=cc_unsubscribe


More information about the Bugs mailing list