]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/segment_manager/block: DSYNC not needed
authorSamuel Just <sjust@redhat.com>
Mon, 26 Apr 2021 20:49:54 +0000 (13:49 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 7 May 2021 07:36:44 +0000 (00:36 -0700)
We are expressly flushing, so this shouldn't be needed.

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

index 0094e58e2c2b4de275775cdb3b9d8ecae6cf6db8..16b7d6469020af84f1da71d28f82bb4da677cbff 100644 (file)
@@ -281,7 +281,7 @@ BlockSegmentManager::~BlockSegmentManager()
 BlockSegmentManager::mount_ret BlockSegmentManager::mount()
 {
   return open_device(
-    device_path, seastar::open_flags::rw | seastar::open_flags::dsync
+    device_path, seastar::open_flags::rw
   ).safe_then([=](auto p) {
     device = std::move(p.first);
     auto sd = p.second;