]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs_proxy: add the number of supported operations to negotiation
authorXavi Hernandez <xhernandez@gmail.com>
Wed, 5 Nov 2025 09:05:45 +0000 (10:05 +0100)
committerXavi Hernandez <xhernandez@gmail.com>
Wed, 11 Feb 2026 16:08:03 +0000 (17:08 +0100)
commitda11a28ae6f504d3f55d2e528f2f4657b790af06
treee009c665ccf265ee612a15ea49a56e101c2680f4
parentd22b788a3d2acdfdea997ce73518d66a8cf3a0a9
libcephfs_proxy: add the number of supported operations to negotiation

The v0 negotiation structure has been modified to hold the total number
of operations and callbacks supported by the peer. The changes are done in
a way that it's completely transparent and harmless for a peer expecting
the previous definition.

This will be useful to quickly check if the daemon supports some
operation, or the client supports some callback before sending them.

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