[Bugs] [Bug 1220064] Gluster small-file creates do not scale with brick count

bugzilla at redhat.com bugzilla at redhat.com
Sun May 10 04:55:12 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10729 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit 243d61575c093c03b9beb014bf9d097646836e95
Author: Jeff Darcy <jdarcy at redhat.com>
Date:   Wed May 7 19:31:30 2014 +0000

    dht: make lookup-unhashed=auto do something actually useful

    The key concept here is to determine whether a directory is "clean" by
    comparing its last-known-good topology to the current one for the
    volume.  These are stored as "commit hashes" on the directory and the
    volume root respectively.  The volume's commit hash changes whenever a
    brick is added or removed, and a fix-layout is done.  A directory's
    commit hash changes only when a full rebalance (not just fix-layout)
    is done on it.  If all bricks are present and have a directory
    commit hash that matches the volume commit hash, then we can assume
    that every file is in its "proper" place. Therefore, if we look for
    a file in that proper place and don't find it, we can assume it's not
    on any other subvolume and *safely* skip the global (broadcast to all)
    lookup.

    Change-Id: Id6ce4593ba1f7daffa74cfab591cb45960629ae3
    BUG: 1220064
    Reviewed-on-master: http://review.gluster.org/#/c/7702/
    Signed-off-by: Jeff Darcy <jdarcy at redhat.com>
    Signed-off-by: Shyam <srangana at redhat.com>
    Reviewed-on: http://review.gluster.org/10729
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur 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=1llUfL03bo&a=cc_unsubscribe


More information about the Bugs mailing list