]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
multi-mds/link: Send referent inode to dentry_replicas
authorKotresh HR <khiremat@redhat.com>
Mon, 24 Feb 2025 11:07:05 +0000 (16:37 +0530)
committerKotresh HR <khiremat@redhat.com>
Tue, 4 Mar 2025 06:20:47 +0000 (11:50 +0530)
commitd7d294e3687368f1bcf5207c04b13514a5bbc5fd
treefbd71a27422f6e671792d711d1a21e50820b89fb
parent79c3d122d2e8d13791cd519eeb3117ecd214fa68
multi-mds/link: Send referent inode to dentry_replicas

On hardlink creation with multiple mdses, the
hardlink dentry being created could already exist.
In such cases, the change in inode is notified to
dentry replicas using MDCache::send_dentry_link.
If it's a referent remote, send the referent inode
to the dentry replicas and link it correctly.

Fixes: https://tracker.ceph.com/issues/54205
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/mds/MDCache.cc