]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/smb: add rate limiting support
authorAvan Thakkar <athakkar@redhat.com>
Thu, 31 Jul 2025 14:47:03 +0000 (20:17 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Mon, 2 Feb 2026 07:49:30 +0000 (13:19 +0530)
commit83f5112a4a2dc20ba5eafc968aa633921b82600f
tree6e92469e2b9e62d621dfaa18ab12de3c634c3731
parent38aeaf1c8a5a3627c33ddba0a402b1de8214843c
mgr/smb: add rate limiting support

Introduce a new optional `qos` component under the `cephfs` block
of the Share resource to configure rate limiting options per SMB share.

The new structure supports:
- read_iops_limit
- write_iops_limit
- read_bw_limit
- write_bw_limit
- read_delay_max
- write_delay_max

A new CLI command is added:
  `ceph smb share update cephfs qos <cluster> <share> [options]`

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
src/pybind/mgr/smb/handler.py
src/pybind/mgr/smb/module.py
src/pybind/mgr/smb/resources.py