You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many structures use their own refcounting implementation. Many of these use a lock on the structure, which is not optimal for modern architectures. We have a standard way of doing refcounting in libglusterfs/src/refcount.h and this should be used where possible.
Any structures that have *_ref() and *_unref() functions are candidates for conversion.
The text was updated successfully, but these errors were encountered:
Dropping a note, parts of this would be done out for 3.11 and the feature would continue to 3.12. We still want to call this out in the 3.11 release notes though.
glfs_object used by the handle functions in gfapi is a good candidate too. It currently does a sortof reference counting on glfs_object->inode and that is difficult to track as it is one additional indirection.
A patch https://review.gluster.org/17390 has been posted that references this issue.
Commit message: doc: Updated release notes for several features/changes in 3.11.0
Many structures use their own refcounting implementation. Many of these use a lock on the structure, which is not optimal for modern architectures. We have a standard way of doing refcounting in
libglusterfs/src/refcount.h
and this should be used where possible.Any structures that have
*_ref()
and*_unref()
functions are candidates for conversion.The text was updated successfully, but these errors were encountered: