Description of problem: features/locks xlator will leak memory after lock/unlock test. Steps to Reproduce: 1. run lock/unlock test on fuse client (I use ltp's fs testcase, it include a lot file lock operation) 2. run for a while, use kill -s SIGUSR1 to see the memory usage. it will show like: [features/locks.test_gfs-locks - usage-type gf_common_mt_strdup memusage] size=66391322 num_allocs=1070830 max_size=66391322 max_num_allocs=1070830 total_allocs=1071338 a lot strdup memory have not been released.
REVIEW: http://review.gluster.org/15303 (features/locks: fix memory leak caused by client_uid) posted (#1) for review on master by Ryan Ding (ryan.ding)
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.