Bug 1612750 - gfapi: Use inode_forget in case of unlink/rename objects
Summary: gfapi: Use inode_forget in case of unlink/rename objects
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: libgfapi
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-06 08:25 UTC by Kinglong Mee
Modified: 2018-10-23 15:16 UTC (History)
2 users (show)

Fixed In Version: glusterfs-5.0
Clone Of:
Environment:
Last Closed: 2018-10-23 15:16:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kinglong Mee 2018-08-06 08:25:16 UTC
Description of problem:

gfapi: Use inode_forget in case of unlink/rename objects

After unlink/rename, the nonexistent inode should be remove from inode table,
that's better than put to lru list.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2018-08-06 08:32:22 UTC
REVIEW: https://review.gluster.org/20641 (gfapi: Use inode_forget in case of unlink/rename objects) posted (#2) for review on master by Kinglong Mee

Comment 2 Worker Ant 2018-08-21 04:50:30 UTC
COMMIT: https://review.gluster.org/20641 committed in master by "Amar Tumballi" <amarts> with a commit message- gfapi: Use inode_forget in case of unlink/rename objects

After unlink/rename, the nonexistent inode should be remove from inode table,
that's better than put to lru list.

Change-Id: I5a40df188f3f42a2c864cfb4404b22b288fdcc12
fixes: bz#1612750
Signed-off-by: Kinglong Mee <mijinlong>

Comment 3 Shyamsundar 2018-10-23 15:16:35 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-5.0, please open a new bug report.

glusterfs-5.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2018-October/000115.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.