Bug 762061 (GLUSTER-329) - Replacing memory allocation functions with mem-type functions
Summary: Replacing memory allocation functions with mem-type functions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-329
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: GLUSTER-1249
TreeView+ depends on / blocked
 
Reported: 2009-10-22 06:47 UTC by Vinayak Hegde
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.