Description of problem: In md-cache, its lock is used in mdc_xattr_list_populate(), but got init after call. Need to fix this issue by moving initing lock ahead. 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/20391 (performance/md-cache: Fix issue on lock being used before init.) posted (#1) for review on master by Zhang Huan
COMMIT: https://review.gluster.org/20391 committed in master by "Poornima G" <pgurusid> with a commit message- performance/md-cache: Fix issue on lock being used before init. lock is used in mdc_xattr_list_populate(), but got init after call. Fix this issue by moving initing lock ahead. Change-Id: I94b08303a8ba74b1e9388f700587a00b7ae3fd78 fixes: bz#1595174 Signed-off-by: Zhang Huan <zhanghuan>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-5.0, please open a new bug report. glusterfs-5.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2018-October/000115.html [2] https://www.gluster.org/pipermail/gluster-users/