From: Patrick Donnelly Date: Wed, 13 Nov 2024 03:29:19 +0000 (-0500) Subject: qa: write out ESubtreeMap more frequently to find large events X-Git-Tag: testing/wip-vshankar-testing-20250103.123326-debug^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=46da1f631dfde816c94349d4583a65c18545bb91;p=ceph-ci.git qa: write out ESubtreeMap more frequently to find large events 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 Signed-off-by: Venky Shankar --- diff --git a/qa/tasks/cephfs/test_exports.py b/qa/tasks/cephfs/test_exports.py index e5ad18dd662..ba71bba024b 100644 --- a/qa/tasks/cephfs/test_exports.py +++ b/qa/tasks/cephfs/test_exports.py @@ -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") diff --git a/src/common/options/mds.yaml.in b/src/common/options/mds.yaml.in index 94824faef6b..8263554524b 100644 --- a/src/common/options/mds.yaml.in +++ b/src/common/options/mds.yaml.in @@ -1739,4 +1739,4 @@ options: default: 16 services: - mds - min: 8 + min: 4