blob: 5d40f8ffb17cb1bf4c5d2a9f2f52f316ed86331d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
set(cephfs_journal_tool_srcs
cephfs-journal-tool.cc
JournalTool.cc
JournalFilter.cc
JournalScanner.cc
EventOutput.cc
Dumper.cc
Resetter.cc
RoleSelector.cc
MDSUtility.cc)
add_executable(cephfs-journal-tool ${cephfs_journal_tool_srcs})
target_link_libraries(cephfs-journal-tool librados mds osdc global
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
set(cephfs-meta-injection_srcs
cephfs-meta-injection.cc
MetaTool.cc
RoleSelector.cc
MDSUtility.cc)
add_executable(cephfs-meta-injection ${cephfs-meta-injection_srcs})
target_link_libraries(cephfs-meta-injection librados mds osdc global
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
set(cephfs_table_tool_srcs
cephfs-table-tool.cc
TableTool.cc
RoleSelector.cc
MDSUtility.cc)
add_executable(cephfs-table-tool ${cephfs_table_tool_srcs})
target_link_libraries(cephfs-table-tool librados mds osdc global
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
set(cephfs_data_scan_srcs
cephfs-data-scan.cc
DataScan.cc
RoleSelector.cc
PgFiles.cc
MDSUtility.cc)
add_executable(cephfs-data-scan ${cephfs_data_scan_srcs})
target_link_libraries(cephfs-data-scan librados cephfs mds osdc global
cls_cephfs_client
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
install(TARGETS
cephfs-journal-tool
cephfs-table-tool
cephfs-data-scan
DESTINATION bin)
option(WITH_CEPHFS_SHELL "install cephfs-shell" OFF)
if(WITH_CEPHFS_SHELL)
add_subdirectory(shell)
endif()
option(WITH_CEPHFS_TOP "install cephfs-top utility" ON)
if(WITH_CEPHFS_TOP)
add_subdirectory(top)
endif()
|