Bug 762602 (GLUSTER-870)

Summary: potential memory leak when both client and server run in the same process.
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: coreAssignee: Raghavendra G <raghavendra>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra G 2010-04-29 03:47:53 UTC
bug is invalid, iobuf is unrefed in protocol.

Comment 1 Raghavendra G 2010-04-29 05:16:50 UTC
when a payload vector needs to be sent, transport_submit allocates a new iobuf and unloads the vector into it. This iobuf is handed over to server protocol, but is never unrefed. This is because, when an actual transport (sockets/ib-verbs) is present, the responsibility of allocating and unrefing the iobuf lies with the actual transport and generic transport code assumes the same even when actual transport is not present.

regards,
Raghavendra