tasks/ceph: enable dirfrags in cephfs

Otherwise places we set mds_bal_frag have
no effect.

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2016-08-05 15:12:18 +01:00
parent f99e834ddd
commit cc8198d8eb

View File

@ -310,6 +310,16 @@ def cephfs_setup(ctx, config):
'ceph',
'--cluster', cluster_name,
'mds', 'set_max_mds', str(num_active)])
mon_remote.run(
args=[
'sudo',
'adjust-ulimits',
'ceph-coverage',
coverage_dir,
'ceph', 'mds', 'set', 'allow_dirfrags', 'true',
'--yes-i-really-mean-it'],
check_status=False, # probably old version, upgrade test
)
yield