gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] posix-locks memory leak?


From: Raghavendra G
Subject: Re: [Gluster-devel] posix-locks memory leak?
Date: Tue, 21 Oct 2008 06:48:49 +0400

Hi Rommer,
comments inlined.

On Mon, Oct 20, 2008 at 8:25 PM, Rommer <address@hidden> wrote:
On Sun, 19 Oct 2008 09:12:26 +0530
"Basavanagowda Kanur" <address@hidden> wrote:

> Rommer,
>   It is not a memory leak.
>   pl_forget() is not called by protocol/server, pl_forget() is called
> by __inode_destroy() after inode->ref becomes 0 (zero).
>

Thanks.
One more question:
server_open_resume() makes new fd by fd_create(), but server_open_cbk()
in protocol/server-protocol.c does not fd_destroy(fd), if op_ret < 0.
Where fd is destroing if open() failed?

fd is unrefed (and possibly destroyed) during free_state () called in protocol_server_reply().




_______________________________________________
Gluster-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gluster-devel



--
Raghavendra G


reply via email to

[Prev in Thread] Current Thread [Next in Thread]