]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/smb: Enable per-share profile counters 64254/head
authorShachar Sharon <ssharon@redhat.com>
Thu, 26 Jun 2025 06:43:01 +0000 (09:43 +0300)
committerShachar Sharon <ssharon@redhat.com>
Mon, 7 Jul 2025 07:32:04 +0000 (10:32 +0300)
Samba's commit 9f8d272 ("vfs_ceph_new: use per-share profile macros")
enables per-share profile counters for VFS ceph bridge. Enable those by
default for each smb-ceph share.

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
src/pybind/mgr/smb/handler.py

index 73e635521bb188b7406b8423d60caf9dcf1cf383..46fcf333005a7d2b95a6c208137f0de9183eac07 100644 (file)
@@ -1198,6 +1198,7 @@ def _generate_share(
             'x:ceph:id': f'{share.cluster_id}.{share.share_id}',
             'comment': '',
             'max connections': '0',
+            'smbd profiling share': 'yes',
         }
     }
     if proxy_val: