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/bluestore_types.cc
31 bluestore/fastbmap_allocator_impl.cc
32 bluestore/FreelistManager.cc
33 bluestore/StupidAllocator.cc
34 bluestore/BitmapAllocator.cc
35 bluestore/AvlAllocator.cc
36 bluestore/HybridAllocator.cc
41 list(APPEND libos_srcs
42 bluestore/zoned_types.cc
43 bluestore/ZonedFreelistManager.cc
44 bluestore/ZonedAllocator.cc)
48 list(APPEND libos_srcs
53 list(APPEND libos_srcs
54 filestore/XfsFileStoreBackend.cc
59 add_library(os_zfs_objs OBJECT
60 filestore/ZFSFileStoreBackend.cc
62 target_include_directories(os_zfs_objs SYSTEM PRIVATE
64 list(APPEND libos_srcs $<TARGET_OBJECTS:os_zfs_objs>)
67 add_library(os STATIC ${libos_srcs})
68 target_link_libraries(os blk)
70 target_link_libraries(os heap_profiler kv)
73 add_library(bluefs SHARED
74 bluestore/BlueRocksEnv.cc)
75 target_include_directories(bluefs SYSTEM PUBLIC
76 $<TARGET_PROPERTY:RocksDB::RocksDB,INTERFACE_INCLUDE_DIRECTORIES>)
77 target_link_libraries(bluefs global)
78 install(TARGETS bluefs DESTINATION lib)
82 target_link_libraries(os FUSE::FUSE)
86 target_link_libraries(os ${ZFS_LIBRARIES})
90 add_dependencies(os objectstore-tp)
91 add_dependencies(os bluestore-tp)
95 target_link_libraries(os jaeger-base)
98 target_link_libraries(os kv)
100 add_dependencies(os compressor_plugins)
101 add_dependencies(os crypto_plugins)
105 add_executable(ceph-bluestore-tool
106 bluestore/bluestore_tool.cc)
107 target_link_libraries(ceph-bluestore-tool
109 install(TARGETS ceph-bluestore-tool