[Gluster-users] strange memory consumption with libgfapi
Kaleb S. KEITHLEY
kkeithle at redhat.com
Tue Nov 1 14:21:22 UTC 2016
On 11/01/2016 10:04 AM, Pavel Cernohorsky wrote:
> For those who are interested, colleague of mine found out the problem is
> this line:
>
> itable = inode_table_new (131072, new_subvol);
>
> in glfs-master.c (graph_setup function). That hard-coded number is huge!
> And looking at the history of Gluster sources, it seems that this number
> used to be a number of bytes, but it became number of inodes, but
> someone forgot to change this hard-coded value!
>
> Anybody from Red Hat here interested in fixing it?
>
Of course. Although fixing bugs in Community GlusterFS is not limited to
just Red Hat employees.
Everyone who finds a bug is strongly encouraged to file a bug report at
https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS
(You are required to create an account to submit a bug.)
In this case I have already opened a bug for this. You can follow its
status at https://bugzilla.redhat.com/show_bug.cgi?id=1390614
And if you have the ability to fix it, you are strongly encouraged to
submit your proposed fix to review.gluster.org. A HOWTO for submitting
patches is at
http://gluster.readthedocs.io/en/latest/Developer-guide/Simplified-Development-Workflow/
Regards,
--
Kaleb
More information about the Gluster-users
mailing list