]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/vol: count number of ongoing clones in CloneProgressReporter...
authorRishabh Dave <ridave@redhat.com>
Wed, 1 Jan 2025 12:27:55 +0000 (17:57 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 21 Mar 2025 05:35:52 +0000 (11:05 +0530)
commite04f527e464dfd60068372eb44ecf2688fc968cf
tree7cbca3ba970f2a285b3a19fc9be5348337b1a009
parent6fc1a6dd926a52773b98894e1092aea0d63d16ad
mgr/vol: count number of ongoing clones in CloneProgressReporter...

instead of relying on the config value "mgr/volumes/max_concurrent_clones".
This reliance is not really needed since CloneProgressReporter goes
through all clone entries and collect info about every clone anyways. If
it takes one more step to get clone state it wouldn't need to reply on
this config option.

Fixes: https://tracker.ceph.com/issues/67987
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/stats_util.py