diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-04-25 20:36:11 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-04-28 18:18:59 -0700 |
commit | 49e2d5162013ccf5f3f99c68c2521ca1cc6c3f20 (patch) | |
tree | a1812d0e30d0f44717b4b62736e8afba9aac29e1 /api/src/glfs-handleops.c | |
parent | 3ea85192f1521c32915ed38bb4db61be11d59922 (diff) |
cluster/afr: Fix inode_forget assert failure
Problem:
If two self-heals are triggered on same inode in
parallel then one inode will be linked and the other
inode will not be linked as an inode with that gfid
is already linked in inode table. Calling inode-forget
on that inode leads to assert failure.
Fix:
Always use linked inode for performing self-heal.
Added inode-forgets in other places as well even though
its not really a memory leak.
Change-Id: Ib84bf080c8cb6a4243f66541ece587db28f9a052
BUG: 1091597
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/7567
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'api/src/glfs-handleops.c')
0 files changed, 0 insertions, 0 deletions