Bug 762061 (GLUSTER-329)

Summary: Replacing memory allocation functions with mem-type functions
Product: [Community] GlusterFS Reporter: Vinayak Hegde <vinayak>
Component: unclassifiedAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: amarts, gluster-bugs, nsathyan, vijay
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:
Bug Depends On:    
Bug Blocks: 762981    

Description Vinayak Hegde 2009-10-22 06:47:54 UTC

Comment 1 Anand Avati 2010-04-23 10:32:56 UTC
PATCH: http://patches.gluster.com/patch/3159 in master (Memory accounting changes)

Comment 2 Anand Avati 2010-04-27 11:34:46 UTC
PATCH: http://patches.gluster.com/patch/3173 in master (features/access-control: Memory accounting changes)

Comment 3 Anand Avati 2010-04-27 12:07:26 UTC
PATCH: http://patches.gluster.com/patch/3174 in master (nfs/server: Memory accounting changes)

Comment 4 Anand Avati 2010-04-27 12:07:30 UTC
PATCH: http://patches.gluster.com/patch/3175 in master (cluster/stripe: Memory accounting changes)

Comment 5 Anand Avati 2010-06-08 09:25:10 UTC
PATCH: http://patches.gluster.com/patch/3395 in master (mem-types: include *-mem-types.h in noinst_HEADERS variables in all Makefile.am)

Comment 6 Anand Avati 2010-06-10 09:24:35 UTC
PATCH: http://patches.gluster.com/patch/3405 in master (changed the order of gf_log in xlator.c to prevent hang)

Comment 7 Amar Tumballi 2010-07-19 06:36:35 UTC
we have to make sure all the 'frame','local' and 'ctx' should be allocated from mem-pool, so there is reduced number of 'Calloc/Malloc/Free' in fop path.

Comment 8 Anand Avati 2010-08-06 07:37:31 UTC
PATCH: http://patches.gluster.com/patch/3996 in master (Implement mem pool for frame and stack)

Comment 9 Anand Avati 2010-08-06 07:37:35 UTC
PATCH: http://patches.gluster.com/patch/3997 in master (Implement mem pool for inode dentry)

Comment 10 Anand Avati 2010-08-06 07:37:39 UTC
PATCH: http://patches.gluster.com/patch/3998 in master (mem pool for fd_t)

Comment 11 Anand Avati 2010-08-06 07:37:43 UTC
PATCH: http://patches.gluster.com/patch/3999 in master (mem pool for call_stub_t)

Comment 12 Anand Avati 2011-01-27 17:17:58 UTC
PATCH: http://patches.gluster.com/patch/5996 in master (free GF_CALLOCed memory by GF_FREE instead of FREE)

Comment 13 Anand Avati 2011-05-03 14:03:56 UTC
PATCH: http://patches.gluster.com/patch/6758 in master (enable memory accounting for error-gen xlator)

Comment 14 Anand Avati 2012-02-27 10:15:57 UTC
CHANGE: http://review.gluster.com/2816 (libglusterfs: fix GF_FREE) merged in master by Vijay Bellur (vijay)