Skip to content

Commit f54be33

Browse files
committed
doc: remove refrences to mds_log_major_segment_event_ratio
Signed-off-by: Venky Shankar <[email protected]>
1 parent 718afe2 commit f54be33

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

doc/cephfs/mds-journaling.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,12 @@ The targetted size of a log segment in terms of number of events is controlled b
141141

142142
.. confval:: mds_log_events_per_segment
143143

144-
The frequency of major segments (noted by the journaling of the latest ``ESubtreeMap``) is controlled by:
144+
The number of minor mds log segments since last major segment is controlled by:
145145

146-
.. confval:: mds_log_major_segment_event_ratio
146+
.. confval:: mds_log_minor_segments_per_major_segment
147147

148-
When ``mds_log_events_per_segment * mds_log_major_segment_event_ratio``
149-
non-``ESubtreeMap`` events are logged, the MDS will journal a new
150-
``ESubtreeMap``. This is necessary to allow the journal to shrink in size
151-
during the trimming of expired segments.
148+
This controls how often the MDS trims expired log segments (higher the value, less
149+
often the MDS updates the journal expiry position for trimming).
152150

153151
The target maximum number of segments is controlled by:
154152

0 commit comments

Comments
 (0)