]> 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>
Sun, 8 Feb 2026 14:14:35 +0000 (19:44 +0530)
commitd9debe05cda1d086a3d3bb23bb9765e86d95e6ac
tree954ec07bbc81b3485cd4f7ce7b6aefe8e667a471
parenta0e6e11bdec678700f2698dd72992530d52ff882
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