Description of problem: Many structures use their own refcounting. libglusterfs provides refcount.h with standard functions. Other structures should use that as well.
REVIEW: http://review.gluster.org/15971 (refcount: return pointer to the structure instead of a counter) posted (#1) for review on master by Niels de Vos (ndevos)
COMMIT: http://review.gluster.org/15971 committed in master by Niels de Vos (ndevos) ------ commit 2f0e9ab1ef271132b8b7b1af25e23ac7bb0720c8 Author: Niels de Vos <ndevos> Date: Tue Nov 29 16:51:58 2016 +0100 refcount: return pointer to the structure instead of a counter There are no real users of the counter. It was thought of a handy tool to track and debug refcounting, but it is not used at all. Some parts of the code would benefit from a pointer getting returned instead. BUG: 1399780 Change-Id: I97e52c48420fed61be942ea27ff4849b803eed12 Signed-off-by: Niels de Vos <ndevos> Reviewed-on: http://review.gluster.org/15971 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Xavier Hernandez <xhernandez> Reviewed-by: Kaleb KEITHLEY <kkeithle>
REVIEW: http://review.gluster.org/16109 (rpc: use standard refcounting functions for 'struct rpc_clnt') posted (#1) for review on master by Niels de Vos (ndevos)
REVIEW: http://review.gluster.org/16109 (rpc: use standard refcounting functions for 'struct rpc_clnt') posted (#2) for review on master by Niels de Vos (ndevos)
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-3.10.0, please open a new bug report. glusterfs-3.10.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] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/