// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #include #include // Ensures a block client has synchronized all operations to storage. zx_status_t FlushClient(const block_client::Client& client); // Ensures a block device has synchronized all operations to storage. zx_status_t FlushBlockDevice(const fbl::unique_fd& fd);