Skip to content

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

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

os/bluestore/BlueFS: compact log even when sync_metadata sees no work#17354
liewegas merged 1 commit intoceph:masterfrom
liewegas:wip-bluefs-compaction

Conversation

@liewegas
Copy link
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 sage@redhat.com

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 <sage@redhat.com>
Copy link
Contributor

@varadakari varadakari left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@xiexingguo xiexingguo left a comment

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
Copy link
Member Author

@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