diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2015-05-13 14:35:47 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-28 08:39:36 -0700 |
commit | 19818254fa7d2b227d212e0a62c37846aef3fc24 (patch) | |
tree | 760ee544e59df81d4a2cc76f001f9eba41bbf6e7 /xlators/mgmt/glusterd/src/glusterd-store.h | |
parent | 7bfd49705b8c17e779b88dd33122d2ce213dd1fb (diff) |
features/bitrot: refactor brick connection logic
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: 1207134
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/10763
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: NetBSD Build System
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-store.h')
0 files changed, 0 insertions, 0 deletions