Bug 761860 (GLUSTER-128) - cleanup unwanted ctx dictionary in 'inode' and 'fd' structures.
Summary: cleanup unwanted ctx dictionary in 'inode' and 'fd' structures.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-128
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: All
high
low
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-10 19:05 UTC by Amar Tumballi
Modified: 2013-12-19 00:03 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

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)


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