]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: continue linking if targeti is temporarily located in stray dir 52199/head
authorXiubo Li <xiubli@redhat.com>
Wed, 30 Aug 2023 05:24:01 +0000 (13:24 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 12 Sep 2023 03:10:18 +0000 (11:10 +0800)
commit5b9df823a2ab333be6205b8add8fbae7c3d2cc17
tree52b9c6d43de3a65aa6ffc5a6e83f9527fc1c114e
parent8e240303f85c5faa27504899629a1b33669e5521
mds: continue linking if targeti is temporarily located in stray dir

If one inode has more than one hardlink and after the primary dentry
is unlinked it will located the inode in the stray dir temporarily,
which is pending reintegration.

Just before the linkmerge/migrate is triggered a link request comes
it will fail with -EXDEV.

Just skip it and continue the linking.

Fixes: https://tracker.ceph.com/issues/56695
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/Server.cc