]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: BlueFS: harmonize log read and writes modes 49431/head
authorAdam Kupczyk <akupczyk@redhat.com>
Wed, 14 Dec 2022 16:43:47 +0000 (16:43 +0000)
committerAdam Kupczyk <akupczyk@redhat.com>
Wed, 14 Dec 2022 16:55:49 +0000 (16:55 +0000)
commitb444a9f478339e057bf9ac65f7145ba4381a92bf
tree027de996b343eb3d03e80bfd8eb00d2274a94c33
parentcf6a1b7404c40626f709bcdd192d5b9bb67de4ba
os/bluestore: BlueFS: harmonize log read and writes modes

BlueFS log has always been written in non-buffered mode.
Reading of it depends on bluefs_buffered_io option.
It is strongly suspected that this causes some wierd problems.

Possibly fixes: https://tracker.ceph.com/issues/54019

It is targetted directly to pacific.
Ultimately same fix will go to all versions.
This problem is severe, but happens very infrequently, mostly on contenerized
environments. We have a lot of problems in tracker that we suspect are caused by this.
To find them, we have "problem-detection" PR #49198 in main.
Then we will apply equivalent solution there too.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/os/bluestore/BlueFS.cc