summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
authorXavier Hernandez <xhernandez@datalab.es>2016-01-30 22:35:19 +0100
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-02-03 23:57:39 -0800
commitbb1bc854b85ed2e3f51da3a82f56c154ca348e33 (patch)
tree465a56b26c757f7ba9c661be75a9c163f296c4db /xlators/performance
parentb8106d1127f034ffa88b5dd322c23a10e023b9b6 (diff)
downloadglusterfs-bb1bc854b85ed2e3f51da3a82f56c154ca348e33.tar.gz
glusterfs-bb1bc854b85ed2e3f51da3a82f56c154ca348e33.tar.xz
glusterfs-bb1bc854b85ed2e3f51da3a82f56c154ca348e33.zip
fuse: fix inode and dentry leaks
When a readdirp was executed, the nlookup count for each inode of the returned entries was incremented. However the kernel does not increment the counter for '.' and '..' entries. This caused kernel to send forgets with a counter smaller than the inode's current value. This prevented these inodes to be retired when ref count was 0. Change-Id: I31901af36ab7b4cdc3e6fa2f30a0263a1a2daef8 Signed-off-by: Xavier Hernandez <xhernandez@datalab.es> Reviewed-on: http://review.gluster.org/13327 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/performance')
0 files changed, 0 insertions, 0 deletions