]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/bluefs: Sync BlueFS log with its allocation delta
authorAdam Kupczyk <akupczyk@redhat.com>
Wed, 24 Nov 2021 17:55:05 +0000 (18:55 +0100)
committerIgor Fedotov <igor.fedotov@croit.io>
Tue, 6 Dec 2022 00:16:17 +0000 (03:16 +0300)
commit303d0bd535224778048ddc3217c4e8e4cad9189e
treed27f73b7e2dd9306eaca5a80dc549c6496543299
parent4787f91092c7a4e4e520573ad883daed2e630e5e
os/bluestore/bluefs: Sync BlueFS log with its allocation delta

BlueFS log is the only file that we can append to.
When we append to file we must take into consideration previously commited allocations,
otherwise update will be miscalculated.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry picked from commit ae5c5b7655535887ef56c96af62a1bf99f4c1d13)
src/os/bluestore/BlueFS.cc