diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2015-11-25 15:25:26 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-12-16 07:58:00 -0800 |
commit | f853ed9c61bf65cb39f859470a8ffe8973818868 (patch) | |
tree | e739e45efbcf99ec7d14682a132755809761558a /heal | |
parent | 4eb7c968a682e59d97efcbc2afa41690dfdd22a2 (diff) |
features/bit-rot-stub: delete the link for bad object in quarantine directory
When the bad object is deleted (as of now manually from the backend itself),
along with its gfid handle, the entry for the bad object in the quarantne
directory is left as it is (it also can be removed manually though). But the
next lookup of the object upon not finding it in the backend, sends forget on
the in-memory inode. If the stale link for the gfid still exists in the
quarantine directory, bir-rot-stub will unlink the entry in its forget or in
the next failed lookup on that object with errno being ENOENT.
Change-Id: If84292d3e44707dfa11fa29023b3d9f691b8f0f3
BUG: 1285241
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/12743
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'heal')
0 files changed, 0 insertions, 0 deletions