Skip to content

reef: os/bluestore: expand BlueFS log if available space is insufficient - #57241

Merged
yuriw merged 2 commits into
ceph:reeffrom
sajibreadd:wip-65356-reef
Oct 29, 2024
Merged

yuriw merged 2 commits into
ceph:reeffrom
sajibreadd:wip-65356-reef

Conversation

@sajibreadd

Copy link
Copy Markdown
Member

@sajibreadd
sajibreadd requested a review from a team as a code owner May 2, 2024 15:27
@github-actions github-actions Bot added this to the reef milestone May 2, 2024
@ifed01

ifed01 commented May 3, 2024

Copy link
Copy Markdown
Contributor

jenkins test make check

@github-actions

github-actions Bot commented Aug 8, 2024

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

Signed-off-by: Pere Diaz Bou <[email protected]>
(cherry picked from commit a5509f9)
With these changes, every call to log compaction will try to expand its
runway in case of insufficient log space. async compaction will ignore
the `log_forbidden_to_expand` atomic since we know it should't be
harmful. In any other case, expansion of log will wait until compaction
is completed.

in order to ensure op_file_update_inc fits on disk we increase the size
of logs as previously used in _maybe_extend_log. This means we too bring
back _maybe_extend_log with a different usage.

_maybe_extend_log increases the size of the log if the runway is less
than the min runway and if the current transaction is too big to fit.

Fixes: https://tracker.ceph.com/issues/58759
Signed-off-by: Pere Diaz Bou <[email protected]>
(cherry picked from commit e97aa85)

Conflicts:
	src/os/bluestore/BlueFS.cc
@Matan-B

Matan-B commented Oct 29, 2024

Copy link
Copy Markdown
Contributor

@yuriw
yuriw merged commit fa83b40 into ceph:reef Oct 29, 2024
@sajibreadd
sajibreadd deleted the wip-65356-reef branch March 16, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants