crimson/os/seastore/segment_manager/block: DSYNC not needed

We are expressly flushing, so this shouldn't be needed.

Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
Samuel Just 2021-04-26 13:49:54 -07:00
parent 138f06cae5
commit 67efc48332

View 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;