From: Greg Farnum Date: Wed, 6 Apr 2016 23:33:09 +0000 (-0700) Subject: cephfs: enable dirfrags in test_data_scan fragmentation test X-Git-Tag: v10.2.6~165^2^2~103^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1c4e019ad459db798e75ceb4bd5d7bd4c9f2fc08;p=ceph.git cephfs: enable dirfrags in test_data_scan fragmentation test Signed-off-by: Greg Farnum --- diff --git a/tasks/cephfs/test_data_scan.py b/tasks/cephfs/test_data_scan.py index c10a3021156f..31bca1656556 100644 --- a/tasks/cephfs/test_data_scan.py +++ b/tasks/cephfs/test_data_scan.py @@ -426,6 +426,9 @@ class TestDataScan(CephFSTestCase): That when injecting a dentry into a fragmented directory, we put it in the right fragment. """ + self.fs.mon_manager.raw_cluster_cmd("mds", "set", "allow_dirfrags", "true", + "--yes-i-really-mean-it") + file_count = 100 file_names = ["%s" % n for n in range(0, file_count)]