Skip to content

Commit 46da1f6

Browse files
batrickvshankar
authored andcommitted
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 <[email protected]> Signed-off-by: Venky Shankar <[email protected]>
1 parent 584a81c commit 46da1f6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

qa/tasks/cephfs/test_exports.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ def getlrg():
153153
# vstart.sh sets mds_debug_subtrees to True. That causes a ESubtreeMap
154154
# to be written out every event. Yuck!
155155
self.config_set('mds', 'mds_debug_subtrees', False)
156+
# make sure ESubtreeMap is written frequently enough:
157+
self.config_set('mds', 'mds_log_minor_segments_per_major_segment', '4')
156158
self.config_rm('mds', 'mds bal split size') # don't split /top
157159
self.mount_a.run_shell_payload("rm -rf 1")
158160

src/common/options/mds.yaml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,4 +1739,4 @@ options:
17391739
default: 16
17401740
services:
17411741
- mds
1742-
min: 8
1742+
min: 4

0 commit comments

Comments
 (0)