diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2015-03-07 06:10:41 +0100 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-09 10:42:02 -0700 |
commit | 3361bab0388f7cdad50e1c67e1127801fda05685 (patch) | |
tree | c93f3055631b0df38fb457300992f512685c3d7d /xlators/storage | |
parent | 854383198b6f02d85b4209a8e7dd7e7c0c118793 (diff) |
glfsheal: Avoid infinite loop on exit
Make sure we do not get stuck looping forever in event_dispatch_destroy()
by limiting the retries when waiting for other threads, and by giving up
when writing to other thread fails.
This fixes regression tests hanging forever on NetBSD.
BUG: 1129939
Change-Id: I4459cfb1ab7294e8c15a21b592e0154c22abae07
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/9825
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions