Back to bug 2196405

Who When What Removed Added
Red Hat One Jira (issues.redhat.com) 2023-05-09 02:13:05 UTC Link ID Red Hat Issue Tracker RHCEPH-6628
Xiubo Li 2023-05-09 02:16:47 UTC Link ID Ceph Project Bug Tracker 56695
Status NEW ASSIGNED
Assignee vshankar xiubli
Hemanth Kumar 2023-05-09 03:54:37 UTC Severity unspecified medium
Hemanth Kumar 2023-05-29 07:20:56 UTC QA Contact hyelloji amk
Greg Farnum 2023-07-12 02:00:55 UTC CC gfarnum
Status ASSIGNED POST
Hemanth Kumar 2023-07-12 05:00:50 UTC CC hyelloji
errata-xmlrpc 2023-07-12 15:06:22 UTC CC tserlin
Fixed In Version ceph-17.2.6-88.el9cp
Status POST MODIFIED
Status MODIFIED ON_QA
Akash Raj 2023-07-13 17:42:03 UTC Blocks 2221020
Docs Contact akraj
Flags needinfo?(xiubli)
CC akraj
Xiubo Li 2023-07-14 00:55:08 UTC Doc Type If docs needed, set a value Bug Fix
Doc Text Cause:

If one inode has more than one link and after one of its dentries being unlinked it will be moved to stray directory.

Before the linkmerge/migrate finises if a link request comes it will fail with -EXDEV.

While in non-multiple link case it's also possible that the clients could pass one invalidate ino, which is still under unlinking.



Consequence:

Some link requests will fail directly.

Fix:

Just wait the linkmerge/migrate or purge to finish.

Result:

No link request will fail with -EXDEV.
Flags needinfo?(xiubli)
Amarnath 2023-07-14 06:46:53 UTC Status ON_QA VERIFIED
Akash Raj 2023-07-14 10:53:54 UTC Doc Text Cause:

If one inode has more than one link and after one of its dentries being unlinked it will be moved to stray directory.

Before the linkmerge/migrate finises if a link request comes it will fail with -EXDEV.

While in non-multiple link case it's also possible that the clients could pass one invalidate ino, which is still under unlinking.



Consequence:

Some link requests will fail directly.

Fix:

Just wait the linkmerge/migrate or purge to finish.

Result:

No link request will fail with -EXDEV.
.Link requests no longer fail with `-EXDEV`

Previously, if an _inode_ had more than one link and after one of its dentries was unlinked, it would be moved to a stray directory. Before the link merge/migrate finished, if a link request came, it would fail with `-EXDEV` error. While in non-multiple link cases, it was possible that the clients could pass one invalidate ino, which is still under unlinking. Due to this, some link requests would fail directly.

With this fix, if users wait for the link merge, migrate or purge to finish, no link requests fails with `-EXDEV`.
errata-xmlrpc 2023-08-03 16:32:29 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-08-03 16:45:09 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-08-03 16:45:09 UTC
errata-xmlrpc 2023-08-03 16:45:55 UTC Link ID Red Hat Product Errata RHBA-2023:4473

Back to bug 2196405