]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/segment_manager/block: open with dsync 43554/head
authorSamuel Just <sjust@redhat.com>
Thu, 14 Oct 2021 21:51:38 +0000 (14:51 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 14 Oct 2021 21:54:11 +0000 (14:54 -0700)
commitd7413341119d9b8eabba8c11b60c0312cd1d5002
tree35b1b60d5a1e59f7e3d0760d89cd2adbb9c6b23b
parent51b2b764082d346d086919cffc45e49611634ffa
crimson/os/seastore/segment_manager/block: open with dsync

67efc4 appears to be simply incorrect, I don't see any calls
to flush(), so we do need to open with dsync until we
implement a smarter flushing scheme.

Also, refactor open_device to remove mode param -- we always
pass the same value.

Reverts: 67efc48332cebb69497c5676be6ed2a6e5365e03
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/segment_manager/block.cc