]> 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 34876/head
authorSage Weil <sage@redhat.com>
Wed, 30 Aug 2017 02:07:05 +0000 (22:07 -0400)
committerIgor Fedotov <ifedotov@suse.com>
Tue, 5 May 2020 12:17:42 +0000 (15:17 +0300)
commit5eeb70b1f1a61037afb56831212baf0b90625633
tree6082e3aa86a2727ce3d0d46849595417226eebd8
parent420a6c7524ecee2b4c0d464e0b6f8bf02299ef59
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>
(cherry picked from commit dfe5f05f7948da6200229248a41dc1368737380e)

 Conflicts:
src/os/bluestore/BlueFS.cc
 Some pending release stuff that is now absent at both Luminous and
master.
src/os/bluestore/BlueFS.cc