path: root/libglusterfs
diff options
authorPranith Kumar K <>2016-03-28 16:31:12 +0530
committerPranith Kumar Karampuri <>2016-04-17 07:11:08 -0700
commit20300fa96802ec6a0cd17edba38baf9639561d55 (patch)
tree98d3228e10b1219ea2fb92ecff05be49616d83cf /libglusterfs
parent6b88d97c4a9e999180d77463e38ad14fc9d944cf (diff)
cluster/afr: Don't lookup/forget inodes
Problem: All inodes that are looked-up are always forgotten without fail in afr removing the benefits of them being in lru. This same code can cause crashes if between inode_lookup, inode_forget in afr if the top xlator does inode_forget(0). Fix: Don't use lookup/forget in afr. No benefits are there at the moment for keeping this code. It is impossible to prevent top xlators to do inode_forget(0). Found similar instances in ec and removed them even though those code paths are not going to be executed in any place other than heal-daemon. >BUG: 1321554 >Change-Id: Ia4cb236178f7f129cc898d53f0bbd26f494a2a8d >Signed-off-by: Pranith Kumar K <> >Reviewed-on: >Smoke: Gluster Build System <> >NetBSD-regression: NetBSD Build System <> >CentOS-regression: Gluster Build System <> >Reviewed-by: Anuradha Talur <> BUG: 1327864 Change-Id: I3507ed88cd75e069ed302525bfa259cf407871fb Signed-off-by: Pranith Kumar K <> Reviewed-on: Smoke: Gluster Build System <> CentOS-regression: Gluster Build System <> NetBSD-regression: NetBSD Build System <>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions