4 filestore/chain_xattr.cc
5 filestore/BtrfsFileStoreBackend.cc
6 filestore/DBObjectMap.cc
7 filestore/FileJournal.cc
9 filestore/JournalThrottle.cc
10 filestore/GenericFileStoreBackend.cc
11 filestore/JournalingObjectStore.cc
12 filestore/HashIndex.cc
13 filestore/IndexManager.cc
15 filestore/WBThrottle.cc
19 kstore/kstore_types.cc
23 list(APPEND libos_srcs
24 bluestore/Allocator.cc
25 bluestore/BitmapFreelistManager.cc
27 bluestore/bluefs_types.cc
28 bluestore/BlueRocksEnv.cc
29 bluestore/BlueStore.cc
30 bluestore/simple_bitmap.cc
31 bluestore/bluestore_types.cc
32 bluestore/fastbmap_allocator_impl.cc
33 bluestore/FreelistManager.cc
34 bluestore/StupidAllocator.cc
35 bluestore/BitmapAllocator.cc
36 bluestore/AvlAllocator.cc
37 bluestore/BtreeAllocator.cc
38 bluestore/HybridAllocator.cc
43 list(APPEND libos_srcs
44 bluestore/ZonedFreelistManager.cc
45 bluestore/ZonedAllocator.cc)
49 list(APPEND libos_srcs
54 list(APPEND libos_srcs
55 filestore/XfsFileStoreBackend.cc
60 add_library(os_zfs_objs OBJECT
61 filestore/ZFSFileStoreBackend.cc
63 target_include_directories(os_zfs_objs SYSTEM PRIVATE
65 list(APPEND libos_srcs $<TARGET_OBJECTS:os_zfs_objs>)
68 add_library(os STATIC ${libos_srcs})
69 target_link_libraries(os blk)
71 target_link_libraries(os heap_profiler kv)
74 add_library(bluefs SHARED
75 bluestore/BlueRocksEnv.cc)
76 target_include_directories(bluefs SYSTEM PUBLIC
77 $<TARGET_PROPERTY:RocksDB::RocksDB,INTERFACE_INCLUDE_DIRECTORIES>)
78 target_link_libraries(bluefs global)
79 install(TARGETS bluefs DESTINATION lib)
83 target_link_libraries(os FUSE::FUSE)
87 target_link_libraries(os ${ZFS_LIBRARIES})
91 add_dependencies(os objectstore-tp)
92 add_dependencies(os bluestore-tp)
96 add_dependencies(os ${jaeger_base})
97 target_link_libraries(os ${jaeger_base})
100 target_link_libraries(os kv)
102 add_dependencies(os compressor_plugins)
103 add_dependencies(os crypto_plugins)
107 add_executable(ceph-bluestore-tool
108 bluestore/bluestore_tool.cc)
109 target_link_libraries(ceph-bluestore-tool
111 install(TARGETS ceph-bluestore-tool