[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] posix-locks memory leak?
From: |
Rommer |
Subject: |
Re: [Gluster-devel] posix-locks memory leak? |
Date: |
Tue, 21 Oct 2008 13:13:29 +0300 |
On Tue, 21 Oct 2008 08:30:54 +0530
"Basavanagowda Kanur" <address@hidden> 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()