pybind/mgr/pg_autoscaler: Introduce dynamic threshold to improve scaling sensitivity
The scaling threshold is now dynamically adjusted within
_get_pool_pg_targets() based on the calculated ideal PG
count (final_pg_target).
This change allows the autoscaler to be more aggressive
when adjusting smaller pools, and less aggressive when
adjusting very large pools. Also improves logging to
clarify why scaling decisions are made or skipped.
Fixes: https://tracker.ceph.com/issues/73272
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit
e4d515d300437fc2b227c5fb8ac693d85bb7d291)