]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/snap_schedule: Use mds_max_snaps_per_dir as snapshot count limit
authorJakob Haufe <sur5r@sur5r.net>
Thu, 11 May 2023 07:52:11 +0000 (13:22 +0530)
committerMilind Changire <mchangir@redhat.com>
Mon, 19 Jun 2023 08:48:05 +0000 (14:18 +0530)
commitdabac4c8dff527ffa5a2c2141e4a6e1896f00f71
treebfd90920a4e68aca346c0aa2998ee88ba52505d2
parent1ee89e3fe3064cd33672c010f1b381770f3b9646
mgr/snap_schedule: Use mds_max_snaps_per_dir as snapshot count limit

The module currently hardcodes a limit of 50 snapshots. Use
mds_max_snaps_per_dir instead to make this configurable.

Fixes: https://tracker.ceph.com/issues/59582
Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
src/pybind/mgr/snap_schedule/fs/schedule_client.py