Count cephfs metadata at 4x regular rate so that the metadata pool scales
more aggressively than data pools.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
1b273d3faf7740834d96d127dffcc8873bd30fce)
if r != 0:
return r, outb, outs
+ # count fs metadata omap at 4x usual rate
+ r, outb, outs = self.mon_command({
+ 'prefix': 'osd pool set',
+ 'pool': mdp_name,
+ 'var': "pg_autoscale_bias",
+ 'val': "4.0",
+ })
+ if r != 0:
+ return r, outb, outs
+
r, outb, outs = self.mon_command({
'prefix': 'osd pool create',
'pool': dp_name,