Bug 1219637
Summary: | Gluster small-file creates do not scale with brick count | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shyamsundar <srangana> | |
Component: | distribute | Assignee: | Shyamsundar <srangana> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | mainline | CC: | bengland, bugs, gluster-bugs, ira, nsathyan, perfbz, srangana, storage-qa-internal, vagarwal | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1156637 | |||
: | 1220064 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 12:59:33 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1220064 |
Description
Shyamsundar
2015-05-07 20:44:52 UTC
REVIEW: http://review.gluster.org/7702 (dht: make lookup-unhashed=auto do something actually useful) posted (#8) for review on master by Shyamsundar Ranganathan (srangana) REVIEW: http://review.gluster.org/7702 (dht: make lookup-unhashed=auto do something actually useful) posted (#9) for review on master by Shyamsundar Ranganathan (srangana) COMMIT: http://review.gluster.org/7702 committed in master by Vijay Bellur (vbellur) ------ commit 4eaaf5188fe24a4707dc2cf2934525083cf8e64f Author: Jeff Darcy <jdarcy> 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> Signed-off-by: Shyam <srangana> Reviewed-on: http://review.gluster.org/7702 Tested-by: Gluster Build System <jenkins.com> Tested-by: NetBSD Build System Reviewed-by: Vijay Bellur <vbellur> Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well. This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |