+++ This bug was initially created as a clone of Bug #1801684 +++ Description of problem: When a process calls glfs_fini(), some memory management structures are destroyed. However the process might not finish after that. In that case, a new call to glfs_init() won't fully reinitialize all structures for already running threads, which can lead to memory corruption and crashes. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/24159 (core: fix memory pool management races) posted (#1) for review on release-6 by Xavi Hernandez
REVIEW: https://review.gluster.org/24159 (core: fix memory pool management races) merged (#2) on release-6 by hari gowtham