[Bugs] [Bug 1322825] IO-stats, client profile is overwritten when it is on the same node as bricks

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 15 17:38:07 UTC 2016


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



--- Comment #11 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14552 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit c04df79dc453ef5cb7b3a0ca8ba14598da6189ac
Author: Shyam <srangana at redhat.com>
Date:   Fri May 27 14:00:40 2016 -0400

    io-stats: Fix io-stat dump to dump at all levels

    Previous commit to fix the bug, where io-stat-dump was overwriting
    the dump file when the client and a brick was on the same host,
    failed to consider the existing behaviour where io-stats can
    help generate closely correlated set of stats across clients
    and bricks, by triggering the dump using the same command.

    This was introduced in commit:
    0facb11220aea20a6573b656785922219c9650cf

    Further, by limiting the first io-stat to unwind the dump request,
    there is no way to trigger other io-stat xlators in the stack to
    dump their stat information.

    This bug hence is being fixed by this commit keeping the
    following in mind,
    - We need to trigger io-stat-dump for all instances in the
    graph when this attr is set
    - We need to write the output to different files, so that
    they do not overwrite each others data
    - We need to prevent this xattr from being set on the path
    that is used to trigger the io-stat-dump information

    Change-Id: I31ec380f0d85e10313a9d7b977da0e1ec74638a6
    BUG: 1322825
    Signed-off-by: Shyam <srangana at redhat.com>
    Reviewed-on: http://review.gluster.org/14552
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Jeff Darcy <jdarcy 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=rxW18FnhUX&a=cc_unsubscribe


More information about the Bugs mailing list