mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
Merge PR #29986 into master
* refs/pull/29986/head: mgr/pg_autoscaler: use 'stored' for pool_logical_used Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
cdb8df13cb
@ -273,7 +273,7 @@ class PgAutoscaler(MgrModule):
|
||||
|
||||
raw_used_rate = osdmap.pool_raw_used_rate(pool_id)
|
||||
|
||||
pool_logical_used = pool_stats[pool_id]['bytes_used']
|
||||
pool_logical_used = pool_stats[pool_id]['stored']
|
||||
bias = p['options'].get('pg_autoscale_bias', 1.0)
|
||||
target_bytes = p['options'].get('target_size_bytes', 0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user