diff options
author | Martin Ohmacht <mohmacht@us.ibm.com> | 2022-09-28 20:09:04 +0200 |
---|---|---|
committer | Martin Ohmacht <mohmacht@us.ibm.com> | 2022-09-28 20:09:04 +0200 |
commit | a6658c91bb96bed3e4033a6f15c500f5e0b6c4eb (patch) | |
tree | 6f5ea4b32f268a6b829ded6e5f87b41895c9a5f9 /src/CMakeLists.txt | |
parent | Merge pull request #45379 from tobias-urdin/bump-openstack-versions (diff) | |
download | ceph-a6658c91bb96bed3e4033a6f15c500f5e0b6c4eb.tar.xz ceph-a6658c91bb96bed3e4033a6f15c500f5e0b6c4eb.zip |
blk/kernel: add plugin system for devices with compression and move VDO support into plugin
The current VDO support implementation is buried inside the common/blkdev.cc
with a simple interface used by KernelDevice. It is not easily extendable
and can not be easily used for other devices providing similar capabilities.
This patch adds a plugin system that is based in its structure on the
erasure code plugin system and moves the VDO support code into a VDO plugin.
Signed-off-by: Martin Ohmacht <mohmacht@us.ibm.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 549b18bcfdf..3ae76d59f69 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -433,6 +433,7 @@ add_subdirectory(common) add_subdirectory(crush) add_subdirectory(msg) add_subdirectory(arch) +add_subdirectory(extblkdev) set(ceph_common_objs $<TARGET_OBJECTS:common-auth-objs> @@ -446,7 +447,7 @@ set(ceph_common_objs $<TARGET_OBJECTS:common_mountcephfs_objs> $<TARGET_OBJECTS:crush_objs>) set(ceph_common_deps - json_spirit erasure_code arch crc32 + json_spirit erasure_code extblkdev arch crc32 ${LIB_RESOLV} Boost::thread Boost::system @@ -678,7 +679,7 @@ set(ceph_osd_srcs ceph_osd.cc) add_executable(ceph-osd ${ceph_osd_srcs}) -add_dependencies(ceph-osd erasure_code_plugins) +add_dependencies(ceph-osd erasure_code_plugins extblkdev_plugins) target_link_libraries(ceph-osd osd os global-static common ${ALLOC_LIBS} ${BLKID_LIBRARIES}) |