]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
libcephfs_proxy: enable the embedded perms feature
authorXavi Hernandez <xhernandez@gmail.com>
Sat, 26 Jul 2025 19:43:24 +0000 (21:43 +0200)
committerAnoop C S <anoopcs@cryptolab.net>
Fri, 15 Aug 2025 09:52:22 +0000 (15:22 +0530)
Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
(cherry picked from commit 579ca2369b19e56b9c77d08194eb62d462ba30f0)

src/libcephfs_proxy/libcephfs_proxy.c

index 2d9fc51dfdc15284099f7fc637404021bec70e74..13e4db5a4fc696abb9dc3b8ac6597a230ff30c01 100644 (file)
@@ -86,7 +86,9 @@ static int32_t proxy_global_connect(void)
                }
 
                proxy_link_negotiate_init(&global_cmount.neg, 0, PROXY_FEAT_ALL,
-                                         0, 0, PROXY_LINK_PROTOCOL_VERSION);
+                                         0,
+                                         PROXY_FEAT_EMBEDDED_PERMS,
+                                         PROXY_LINK_PROTOCOL_VERSION);
 
                err = proxy_link_handshake_client(&global_cmount.link, err,
                                                  &global_cmount.neg,
@@ -217,7 +219,8 @@ __public int ceph_create(struct ceph_mount_info **cmount, const char *const id)
        sd = err;
 
        proxy_link_negotiate_init(&ceph_mount->neg, 0, PROXY_FEAT_ALL, 0,
-                                 PROXY_FEAT_ASYNC_IO,
+                                 PROXY_FEAT_ASYNC_IO |
+                                 PROXY_FEAT_EMBEDDED_PERMS,
                                  PROXY_LINK_PROTOCOL_VERSION);
 
        err = proxy_link_handshake_client(&ceph_mount->link, sd,