]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: compact log even when sync_metadata sees no work 17354/head
authorSage Weil <sage@redhat.com>
Wed, 30 Aug 2017 02:07:05 +0000 (22:07 -0400)
committerSage Weil <sage@redhat.com>
Wed, 30 Aug 2017 02:07:05 +0000 (22:07 -0400)
commitdfe5f05f7948da6200229248a41dc1368737380e
tree868a9c9e80797e531e88761f228538b013f5e6e5
parent1b2f1358f71fe9e2cc7acc6b9f02938f9bd0d064
os/bluestore/BlueFS: compact log even when sync_metadata sees no work

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>
src/os/bluestore/BlueFS.cc