The branch, master has been updated
       via  8a05e17dfeb vfs_ceph_new: do explicit 'ceph_init' call
      from  a44abbfde04 docs-xml: fix manpage for "net offlinejoin requestodj"

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 8a05e17dfeb5ecb8621b11fcc89cbc871d1ab442
Author: Shachar Sharon <[email protected]>
Date:   Thu Nov 6 11:15:43 2025 +0200

    vfs_ceph_new: do explicit 'ceph_init' call
    
    Prefer an explicit call to 'ceph_init' for better debug handling in case
    of failure. Without such call the init is done behind the scenes by
    libcephfs upon first mount but we don't have have enough visibility in
    case something went wrong.
    
    Signed-off-by: Shachar Sharon <[email protected]>
    Reviewed-by: Xavi Hernandez <[email protected]>
    Reviewed-by: Guenther Deschner <[email protected]>
    
    Autobuild-User(master): Günther Deschner <[email protected]>
    Autobuild-Date(master): Sat Dec 13 19:40:01 UTC 2025 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/modules/vfs_ceph_new.c | 11 +++++++++++
 1 file changed, 11 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_ceph_new.c b/source3/modules/vfs_ceph_new.c
index 366d855585c..0c913f3e5b5 100644
--- a/source3/modules/vfs_ceph_new.c
+++ b/source3/modules/vfs_ceph_new.c
@@ -321,6 +321,17 @@ static struct ceph_mount_info *cephmount_mount_fs(
        if (ret < 0) {
                goto out;
        }
+       /*
+        * do explicit init. note that in proxy mode this is a no-op as
+        * libcephfs' proxy uses only implicit init upon first mount to reduce
+        * resource consumption.
+        */
+       ret = config->ceph_init_fn(mnt);
+       if (ret < 0) {
+               DBG_DEBUG("[CEPH] ceph_init failed: ret=%d\n", ret);
+               goto out;
+       }
+
        /*
         * select a cephfs file system to use:
         * In ceph, multiple file system support has been stable since


-- 
Samba Shared Repository

Reply via email to