diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2015-05-13 14:35:47 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-05-30 21:15:04 -0700 |
commit | 2ef27f82c3705b18e2c3c030b8debcdb7b30e33b (patch) | |
tree | 49240fbcaeb66243a8a2669699a4b026d55c15af /run-tests.sh | |
parent | 85173e43faba9bbedd287a4103c129e289829e1f (diff) |
features/bitrot: refactor brick connection logic
Backport of http://review.gluster.org/10763
Brick connection was bloated (and not implemented efficiently) with
calls which were not required to be called under lock. This resulted
in starvation of lock by critical code paths. This eventally did not
scale when the number of bricks per volume increases (add-brick and
the likes).
Also, this patch cleans up some of the weird reconnection logic that
added more to the starvation of resources and cleans up uncontrolled
growing of log files.
Change-Id: I05e737f2a9742944a4a543327d167de2489236a4
BUG: 1226146
Original-Author: Raghavendra Bhat <raghavendra@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Reviewed-on: http://review.gluster.org/10986
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'run-tests.sh')
0 files changed, 0 insertions, 0 deletions