]> git.proxmox.com Git - ceph.git/blame - ceph/src/librbd/io/Utils.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / librbd / io / Utils.h
CommitLineData
11fdf7f2
TL
1// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2// vim: ts=8 sw=2 smarttab
3
4#ifndef CEPH_LIBRBD_IO_UTILS_H
5#define CEPH_LIBRBD_IO_UTILS_H
6
7#include "include/int_types.h"
8#include "include/buffer_fwd.h"
9f95a23c 9#include "librbd/io/Types.h"
11fdf7f2
TL
10#include <map>
11
12class ObjectExtent;
13
14namespace librbd {
15namespace io {
16namespace util {
17
9f95a23c 18bool assemble_write_same_extent(const LightweightObjectExtent &object_extent,
11fdf7f2
TL
19 const ceph::bufferlist& data,
20 ceph::bufferlist *ws_data,
21 bool force_write);
22
23} // namespace util
24} // namespace io
25} // namespace librbd
26
27#endif // CEPH_LIBRBD_IO_UTILS_H