]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: write out ESubtreeMap more frequently to find large events 60720/head
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 13 Nov 2024 03:29:19 +0000 (22:29 -0500)
committerVenky Shankar <vshankar@redhat.com>
Mon, 30 Dec 2024 04:29:53 +0000 (09:59 +0530)
With the trimming changes by 9d2b3aa, ESubtreeMap wasn't written reliably often
enough to pass the test.

Fixes: https://tracker.ceph.com/issues/68913
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/test_exports.py
src/common/options/mds.yaml.in

index e5ad18dd662a2bd49d698a02829d1a7f3460bdea..ba71bba024b0760bbe180f25c3121d629dc3ee46 100644 (file)
@@ -153,6 +153,8 @@ class TestExportPin(CephFSTestCase):
         # vstart.sh sets mds_debug_subtrees to True. That causes a ESubtreeMap
         # to be written out every event. Yuck!
         self.config_set('mds', 'mds_debug_subtrees', False)
+        # make sure ESubtreeMap is written frequently enough:
+        self.config_set('mds', 'mds_log_minor_segments_per_major_segment', '4')
         self.config_rm('mds', 'mds bal split size') # don't split /top
         self.mount_a.run_shell_payload("rm -rf 1")
 
index 94824faef6bcf2689a028f927f0582e5bcb11310..8263554524b1736e0ad87d6bd78094a1c1af8d65 100644 (file)
@@ -1739,4 +1739,4 @@ options:
   default: 16
   services:
   - mds
-  min: 8
+  min: 4