Skip to content

Commit eea7719

Browse files
committed
os/bluestore: add missing include
Signed-off-by: Max Kellermann <[email protected]>
1 parent fd25ad6 commit eea7719

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

src/os/bluestore/BitmapAllocator.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// vim: ts=8 sw=2 smarttab
33

44
#include "BitmapAllocator.h"
5+
#include "include/types.h" // for byte_u_t
56

67
#define dout_context cct
78
#define dout_subsys ceph_subsys_bluestore

src/os/bluestore/Compression.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include "Compression.h"
1515
#include "BlueStore.h"
1616
#include "include/intarith.h"
17+
#include "common/debug.h" // for dout()
18+
#include "common/Formatter.h"
1719
#include <limits>
1820

1921
template <typename Char>

src/os/bluestore/Compression.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
#ifndef COMPRESSION_H_INCLUDED
1515
#define COMPRESSION_H_INCLUDED
1616

17+
#include <map>
18+
#include <vector>
19+
1720
#include "BlueStore.h"
1821
#include "Writer.h"
1922

src/os/bluestore/bluestore_common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#ifndef CEPH_OSD_BLUESTORE_COMMON_H
1616
#define CEPH_OSD_BLUESTORE_COMMON_H
1717

18+
#include "include/byteorder.h" // for ceph_le64
1819
#include "include/intarith.h"
1920
#include "include/ceph_assert.h"
2021
#include "kv/KeyValueDB.h"

src/os/bluestore/bluestore_types.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@
2222
#include <vector>
2323
#include <array>
2424
#include "include/mempool.h"
25-
#include "include/types.h"
2625
#include "include/interval_set.h"
2726
#include "include/utime.h"
28-
#include "common/hobject.h"
2927
#include "compressor/Compressor.h"
3028
#include "common/Checksummer.h"
3129
#include "include/ceph_hash.h"
30+
#include "include/intarith.h" // for round_up_to()
3231

3332
namespace ceph {
3433
class Formatter;

0 commit comments

Comments
 (0)