From: Shachar Sharon Date: Thu, 26 Jun 2025 06:43:01 +0000 (+0300) Subject: mgr/smb: Enable per-share profile counters X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F64254%2Fhead;p=ceph.git mgr/smb: Enable per-share profile counters 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 --- diff --git a/src/pybind/mgr/smb/handler.py b/src/pybind/mgr/smb/handler.py index 73e635521bb18..46fcf333005a7 100644 --- a/src/pybind/mgr/smb/handler.py +++ b/src/pybind/mgr/smb/handler.py @@ -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: