[Gluster-devel] posix-locks memory leak?
Raghavendra G
raghavendra.hg at gmail.com
Tue Oct 21 02:48:49 UTC 2008
Hi Rommer,
comments inlined.
On Mon, Oct 20, 2008 at 8:25 PM, Rommer <rommer at active.by> wrote:
> On Sun, 19 Oct 2008 09:12:26 +0530
> "Basavanagowda Kanur" <gowda at zresearch.com> 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
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
--
Raghavendra G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20081021/525a5071/attachment-0003.html>
More information about the Gluster-devel
mailing list