]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephfs: enable dirfrags in test_data_scan fragmentation test
authorGreg Farnum <gfarnum@redhat.com>
Wed, 6 Apr 2016 23:33:09 +0000 (16:33 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Mon, 11 Apr 2016 21:16:30 +0000 (14:16 -0700)
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
tasks/cephfs/test_data_scan.py

index c10a3021156f0eb210827e7757e2722b4c9a9132..31bca16565563943d15a6cf865ca0a26457e81dd 100644 (file)
@@ -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)]