[Bugs] [Bug 1305029] [quota]: Incorrect disk usage shown on a tiered volume

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 11 06:12:17 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13388 committed in release-3.7 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit 0c3e7174ac74f7222f3b8a27fe8b146b4c104852
Author: Manikandan Selvaganesh <mselvaga at redhat.com>
Date:   Fri Feb 5 12:17:22 2016 +0530

    quota: Fix incorrect disk usage shown on a tiered volume

    When quota is enabled on a tiered volume, incorrect data usage is
    shown, it is because, during the process of migrating files in tiering,
    we are accounting both for the src file and dst file at some point. By the
    time we make the srcfile as a T file, marker has already accounted the
    contri and has updated it's parent and also we are not accounting for the
    truncate operation done, which accounts to incorrect data usage even after
    unlinking the file. The size can increase drastically with multiple
promotes
    and demotes since the contri keeps changing and the parent is being
updated.

            Backport of http://review.gluster.org/#/c/13363/

    > Change-Id: Ie567228786713d7dc257ff374a69ad3be40f9e82
    > BUG: 1304970
    > Signed-off-by: Manikandan Selvaganesh <mselvaga at redhat.com>

    Change-Id: I72138aa3bb9ad180287e9bed916b845ec028f259
    BUG: 1305029
    Signed-off-by: Manikandan Selvaganesh <mselvaga at redhat.com>
    Reviewed-on: http://review.gluster.org/13388
    Reviewed-by: Vijaikumar Mallikarjuna <vmallika 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>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.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