]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs_proxy: workaround for delays and hangs in the proxy 62483/head
authorXavi Hernandez <xhernandez@gmail.com>
Tue, 25 Mar 2025 09:19:12 +0000 (10:19 +0100)
committerXavi Hernandez <xhernandez@gmail.com>
Tue, 25 Mar 2025 09:26:27 +0000 (10:26 +0100)
commit8f9361e6c43f4f32af5c54ff56095870fd084559
tree2360f4a660a1402ce4f17819e0e842315f94624b
parent9ea45138fe80d0a2d6622da08b050b97834594d0
libcephfs_proxy: workaround for delays and hangs in the proxy

When ceph_ll_lookup() is done on ".", it returns a new reference to the
parent inode itself. However this may cause some delays or problems on
disconnect (see https://tracker.ceph.com/issues/70553).

However, if "." is replaced by "", we still get a new reference to the
parent inode (which is what we really need), without causing any side
effect.

This patch uses this alternative in the libcephfs proxy to avoid the
problem.

Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
src/libcephfs_proxy/proxy_mount.c