Bug 761860 (GLUSTER-128)

Summary: cleanup unwanted ctx dictionary in 'inode' and 'fd' structures.
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: coreAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: high    
Version: mainlineCC: gluster-bugs, vinayak, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amar Tumballi 2009-07-10 19:05:33 UTC
We have moved to more efficient array based ctx quite some time back, but had kept 'dict_t *ctx' as is, and its still allocating a dictionary for every inode, and every fd, and destroying it while freeing, and no use in between.

This cleanup will reduce complexity of understanding code a little, and save some memory allocate and free operations.

Comment 1 Anand Avati 2009-07-16 04:37:26 UTC
PATCH: http://patches.gluster.com/patch/727 in master (cleanup 'ctx' from inode and fd)