[Gluster-devel] Release 3.10 feature proposal: gfapi fix memory leak during graph switch

Rajesh Joseph rjoseph at redhat.com
Fri Dec 9 13:06:24 UTC 2016


During graph switch we do not perform much cleanup operation on the
old graph, leading to memory leak.

+ Inode table of old graph needs cleanup.
       - Fix inode leaks
       - Fix forget of each xl to free inode ctx properly
+ The xl objects itself (xlator_t)
+ The mem_accnt structure in every xl object.
      - Fix all the leaks so that the ref count of mem_accnt structure is 0
+ Implement fini() in every xlator

Would need support from all other xlator owner to bring down memory
leak in each xlator.

Thanks & Regards,
Rajesh


More information about the Gluster-devel mailing list