Bug 2224232 - client: wait rename to finish
Summary: client: wait rename to finish
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 5.3z5
Assignee: Xiubo Li
QA Contact: Hemanth Kumar
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-20 08:26 UTC by Xiubo Li
Modified: 2023-08-28 09:41 UTC (History)
7 users (show)

Fixed In Version: ceph-16.2.10-197.el8cp
Doc Type: Bug Fix
Doc Text:
.Thread renaming no longer fails Previously, in a few rare cases, during renaming, if another thread tried to lookup the dst dentry, there were chances for it to get inconsistent result, wherein both the src dentry and dst dentry would link to the same inode simultaneously. Due to this,the rename request would fail as two different dentries were being linked to the same inode. With this fix, the thread waits for the renaming action to finish and everything works as expected.
Clone Of: 2224230
Environment:
Last Closed: 2023-08-28 09:40:56 UTC
Embargoed:
hyelloji: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 49912 0 None None None 2023-07-20 08:27:49 UTC
Red Hat Issue Tracker RHCEPH-7045 0 None None None 2023-07-20 08:45:49 UTC
Red Hat Product Errata RHBA-2023:4760 0 None None None 2023-08-28 09:41:21 UTC

Description Xiubo Li 2023-07-20 08:26:41 UTC
+++ This bug was initially created as a clone of Bug #2224230 +++

In rare case during the rename if another thread tries to lookup the
dst dentry, it may get an inconsistent result that both src dentry
and dst dentry will link to the same inode at the same time.

Will wait the rename to finish and try it again.

Fixes: https://tracker.ceph.com/issues/49912

Comment 1 RHEL Program Management 2023-07-20 08:33:01 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 17 errata-xmlrpc 2023-08-28 09:40:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.3 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:4760


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