Skip to content

Commit

Permalink
qa: write out ESubtreeMap more frequently to find large events
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Patrick Donnelly authored and vshankar committed Dec 30, 2024
1 parent 584a81c commit 46da1f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions qa/tasks/cephfs/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ def getlrg():
# 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")

Expand Down
2 changes: 1 addition & 1 deletion src/common/options/mds.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -1739,4 +1739,4 @@ options:
default: 16
services:
- mds
min: 8
min: 4

0 comments on commit 46da1f6

Please sign in to comment.