Back to bug 2196403

Who When What Removed Added
Xiubo Li 2023-05-09 01:59:46 UTC Assignee vshankar xiubli
Red Hat One Jira (issues.redhat.com) 2023-05-09 01:59:59 UTC Link ID Red Hat Issue Tracker RHCEPH-6627
Xiubo Li 2023-05-09 02:00:46 UTC Target Release 6.1z1 5.3z4
Link ID Ceph Project Bug Tracker 59386
Xiubo Li 2023-05-09 02:09:49 UTC Status NEW ASSIGNED
Hemanth Kumar 2023-05-09 03:54:21 UTC Severity unspecified medium
Hemanth Kumar 2023-05-30 05:30:04 UTC QA Contact hyelloji amk
Hemanth Kumar 2023-06-01 06:01:21 UTC CC hyelloji
Greg Farnum 2023-06-14 14:45:47 UTC CC gfarnum
Status ASSIGNED POST
errata-xmlrpc 2023-06-14 18:55:44 UTC Status POST MODIFIED
Fixed In Version ceph-16.2.10-179.el8cp
CC tserlin
Status MODIFIED ON_QA
Akash Raj 2023-06-16 08:51:36 UTC CC akraj
Docs Contact akraj
Flags needinfo?(xiubli)
Blocks 2210690
Xiubo Li 2023-06-16 23:19:40 UTC Doc Type If docs needed, set a value Bug Fix
Doc Text Cause and Consequence:

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.

Fix:

Just wait for the previous linkmerge/migrate or purge OPs to finish for link requests.

Result:

Link OPs will succeed.
Xiubo Li 2023-06-16 23:20:00 UTC Flags needinfo?(xiubli)
Amarnath 2023-06-19 20:10:31 UTC Flags needinfo?(xiubli)
Amarnath 2023-06-20 17:57:58 UTC Flags needinfo?(vshankar)
CC vshankar
Xiubo Li 2023-06-23 13:11:21 UTC Flags needinfo?(xiubli) needinfo?(vshankar)
Amarnath 2023-06-26 13:47:07 UTC Status ON_QA VERIFIED
Akash Raj 2023-06-27 04:18:17 UTC Flags needinfo?(xiubli)
Doc Text Cause and Consequence:

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.

Fix:

Just wait for the previous linkmerge/migrate or purge OPs to finish for link requests.

Result:

Link OPs will succeed.
.Link request no longer fail with `-EXDEV`

Previously, if an inode had more than one link and one of its dentries was unlinked, it would be moved to the stray directory. Due to this, if a link request came before the _linkmerge_/_migrate_ completed, it would fail with `-EXDEV` error.

With this fix, waiting for the previous _linkmerge_/_migrate_ to finish or purging OPs to finish link requests allows link OPs to succeed.
Xiubo Li 2023-06-27 04:39:38 UTC Flags needinfo?(xiubli)
Akash Raj 2023-07-18 05:34:38 UTC Doc Text .Link request no longer fail with `-EXDEV`

Previously, if an inode had more than one link and one of its dentries was unlinked, it would be moved to the stray directory. Due to this, if a link request came before the _linkmerge_/_migrate_ completed, it would fail with `-EXDEV` error.

With this fix, waiting for the previous _linkmerge_/_migrate_ to finish or purging OPs to finish link requests allows link OPs to succeed.
.Link request no longer fail with `-EXDEV`

Previously, if an inode had more than one link and one of its dentries was unlinked, it would be moved to the stray directory. Due to this, if a link request came before the _link merge_/_migrate_ completed, it would fail with `-EXDEV` error.

With this fix, waiting for the previous _link merge_/_migrate_ to finish or purging operations to finish link requests allows link operations to succeed.
errata-xmlrpc 2023-07-19 15:41:57 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-07-19 16:19:10 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-07-19 16:19:10 UTC
errata-xmlrpc 2023-07-19 16:19:54 UTC Link ID Red Hat Product Errata RHBA-2023:4213

Back to bug 2196403