[Bugs] [Bug 1219637] Gluster small-file creates do not scale with brick count
bugzilla at redhat.com
bugzilla at redhat.com
Sun May 10 13:17:46 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1219637
--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/7702 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit 4eaaf5188fe24a4707dc2cf2934525083cf8e64f
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: 1219637
Signed-off-by: Jeff Darcy <jdarcy at redhat.com>
Signed-off-by: Shyam <srangana at redhat.com>
Reviewed-on: http://review.gluster.org/7702
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Tested-by: NetBSD Build System
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=EBJ4PnmbvF&a=cc_unsubscribe
More information about the Bugs
mailing list