diff options
author | Raghavendra G <rgowdapp@redhat.com> | 2015-02-26 22:50:25 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-03-03 20:51:42 -0800 |
commit | ef061b67f1b80c147c1959b896f7c9bdff01af96 (patch) | |
tree | 870baf6de36dc65f1c8aed0fd865b4cca8903a22 /xlators/mgmt/glusterd/src/glusterd-sm.c | |
parent | 95d5e60afb29aedc29909340e7564d54a6a247c2 (diff) |
cluster/dht: Fixes to should_fix_layout logic
* With recent introduction of locking in self-heal codepath,
fix layout was not allowed to progress during remove-brick.
This patch fixes the issue.
* dht_should_fix_layout also considers "dir-spread-count" option if
set, to determine whether we should proceed with fix-layout or not.
Change-Id: Icd96986f7af705744131d62e7f1456114ac1ee53
BUG: 1196615
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-on: http://review.gluster.org/9764
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-sm.c')
0 files changed, 0 insertions, 0 deletions