[Bugs] [Bug 1342387] 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:23:54 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14635 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit 9c6f0d0ad7a1212f451f3cc502da3329c3534c31
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/#/c/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: Ied4d6f5260c1e371955c03bdea0cb77c3426ba33
    BUG: 1342387
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/14635
    Smoke: Gluster Build System <jenkins at build.gluster.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>
    Reviewed-by: Niels de Vos <ndevos at redhat.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=wopV7PXMut&a=cc_unsubscribe


More information about the Bugs mailing list