From 450702a7b9e8336e34f2d70df6818497ea1f0c12 Mon Sep 17 00:00:00 2001 From: Shachar Sharon Date: Thu, 26 Jun 2025 09:43:01 +0300 Subject: [PATCH] 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 --- src/pybind/mgr/smb/handler.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.39.5