From: John Spray Date: Fri, 5 Aug 2016 14:12:18 +0000 (+0100) Subject: tasks/ceph: enable dirfrags in cephfs X-Git-Tag: v11.1.1~58^2^2~90^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc8198d8eb8221234905c778a19c37d5366f9295;p=ceph.git tasks/ceph: enable dirfrags in cephfs Otherwise places we set mds_bal_frag have no effect. Signed-off-by: John Spray --- diff --git a/tasks/ceph.py b/tasks/ceph.py index 3c4b3f4accd..6afe8955dee 100644 --- a/tasks/ceph.py +++ b/tasks/ceph.py @@ -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