[Gluster-devel] posix-locks memory leak?

Rommer rommer at active.by
Tue Oct 21 07:37:57 UTC 2008


On Tue, 21 Oct 2008 08:30:54 +0530
"Basavanagowda Kanur" <gowda at zresearch.com> wrote:

> 
> fd_destroy() is not called by any translator directly. fd_destroy() is
> called when fd->ref = 0(zero).
> 
> yes, thanks for pointing out. fd was getting leaked if
> open()/create()/opendir() failed. it is fixed in
> glusterfs--mainline--3.0--patch-440
> 
> 

Thank you.
But I found this leak in glusterfs-1.3.12, where is no fd_unset()
function. So for glusterfs--mainline--2.5 it must be
fd_destroy() in the same functions instead of fd_unset()





More information about the Gluster-devel mailing list