]> 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, 23 Feb 2026 06:48:25 +0000 (12:18 +0530)
commit9078b91df6b6948ad471c5896960674f122898da
tree09a5405a6bb4da03560b41f9648bca1ce17923ca
parent271a716e0bd90ea7bc21f6e6c3797071c280f35a
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