Skip to content

quincy: os/bluestore: expand BlueFS log if available space is insufficient - #57243

Merged
yuriw merged 2 commits into
ceph:quincyfrom
sajibreadd:wip-65358-quincy
Jul 17, 2024
Merged

yuriw merged 2 commits into
ceph:quincyfrom
sajibreadd:wip-65358-quincy

Conversation

@sajibreadd

Copy link
Copy Markdown
Member

pereman2 added 2 commits May 2, 2024 11:39
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
@sajibreadd
sajibreadd requested a review from a team as a code owner May 2, 2024 15:30
@github-actions github-actions Bot added this to the quincy milestone May 2, 2024
@ifed01

ifed01 commented May 3, 2024

Copy link
Copy Markdown
Contributor

jenkins test api

@ljflores

Copy link
Copy Markdown
Member

@yuriw
yuriw merged commit 53de044 into ceph:quincy Jul 17, 2024
@sajibreadd
sajibreadd deleted the wip-65358-quincy 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