diff options
| author | Pranith Kumar K <pkarampu@redhat.com> | 2016-10-09 21:36:40 +0530 |
|---|---|---|
| committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-10-24 23:52:45 -0700 |
| commit | 4731717aca7a1bd778ba497440a64c4c6eef1daf (patch) | |
| tree | 87f4581f727abb4e2d1a867c7ba93ea7d29113ef /geo-replication/syncdaemon/gsyncd.py | |
| parent | 3e4d13f90710d03e28efbc578c82a465fcd486f8 (diff) | |
performance/io-threads: Exit all threads on PARENT_DOWN
Problem:
When glfs_fini() is called on a volume where client.io-threads is enabled,
fini() will free up iothread xl's private structure but there would be some
threads that are sleeping which would wakeup after the timedwait completes
leading to accessing already free'd memory.
Fix:
As part of parent-down, exit all sleeping threads.
>BUG: 1381830
>Change-Id: I0bb8d90241112c355fb22ee3fbfd7307f475b339
>Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
>Reviewed-on: http://review.gluster.org/15620
>Smoke: Gluster Build System <jenkins@build.gluster.org>
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
>NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
>Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
>(cherry picked from commit d7a5ca16911caca03cec1112d4be56a9cda2ee30)
Change-Id: I450e5db84c83fae3237aaa7915c08cd3ee9bde2c
BUG: 1387894
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/15701
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'geo-replication/syncdaemon/gsyncd.py')
0 files changed, 0 insertions, 0 deletions
