[Bugs] [Bug 1412174] New: Memory leak on mount/fuse when setxattr fails
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jan 11 13:05:45 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1412174
Bug ID: 1412174
Summary: Memory leak on mount/fuse when setxattr fails
Product: GlusterFS
Version: mainline
Component: fuse
Assignee: bugs at gluster.org
Reporter: xhernandez at datalab.es
CC: bugs at gluster.org
Description of problem:
When the setxattr fails for some extended attributes, fuse leaks memory.
This can happen if you try to set 'system.posix_acl_access' but gluster doesn't
have acl's enabled.
Version-Release number of selected component (if applicable): mainline
How reproducible:
Always
Steps to Reproduce:
1. gluster volume create test server:/brick
2. mount -t glusterfs server:/test /test
3. touch /test/file
4. for i in {1..100000}; do setfattr -n system.posix_acl_access -v "1"
/test/file; done
Actual results:
Doing a state dump, a leak of fuse_state_t structures is seen.
Expected results:
No leak should happen.
Additional info:
It seems that the state is not released after having been allocated if a pre-op
check fails.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list