Skip to content

os/bluestore/BlueFS: compact log even when sync_metadata sees no work - #17354

Merged
liewegas merged 1 commit into
ceph:masterfrom
liewegas:wip-bluefs-compaction
Aug 31, 2017
Merged

liewegas merged 1 commit into
ceph:masterfrom
liewegas:wip-bluefs-compaction

Conversation

@liewegas

Copy link
Copy Markdown
Member

It's possible that when sync_metadata() is called there won't be any new
log data to flush because it was already flushed for other reasons (e.g.,
because fsync was called). However, the log may still be large and in
need of compaction.

Signed-off-by: Sage Weil [email protected]

It's possible that when sync_metadata() is called there won't be any new
log data to flush because it was already flushed for other reasons (e.g.,
because fsync was called).  However, the log may still be large and in
need of compaction.

Signed-off-by: Sage Weil <[email protected]>

@varadakari varadakari left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xiexingguo xiexingguo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I see the discussion on ceph-dev channel.
Make sense!

@liewegas
liewegas merged commit 3a9788e into ceph:master Aug 31, 2017
@liewegas
liewegas deleted the wip-bluefs-compaction branch August 31, 2017 18:58
runsisi pushed a commit to runsisi/ceph that referenced this pull request Mar 20, 2018
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.

3 participants