Re: posix-locks memory leak?

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

 



Hi Rommer,
comments inlined.

On Mon, Oct 20, 2008 at 8:25 PM, Rommer <rommer@xxxxxxxxx> wrote:
On Sun, 19 Oct 2008 09:12:26 +0530
"Basavanagowda Kanur" <gowda@xxxxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel



--
Raghavendra G


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux