mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
librbd/cmake: Add missed PWL related types
Add PWL related classes into rbd_types. And fix the build issue when both SSD and RWL are enabled. Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
This commit is contained in:
parent
bcebcea95f
commit
efe5daa1fc
@ -9,9 +9,18 @@ set(librbd_types_srcs
|
||||
watcher/Types.cc
|
||||
WatchNotifyTypes.cc)
|
||||
|
||||
if(WITH_RBD_RWL OR WITH_RBD_SSD_CACHE)
|
||||
list(APPEND librbd_types_srcs cache/pwl/Types.cc)
|
||||
endif()
|
||||
|
||||
add_library(rbd_types STATIC
|
||||
${librbd_types_srcs})
|
||||
|
||||
if (WITH_RBD_RWL AND WITH_RBD_SSD_CACHE)
|
||||
target_link_libraries(rbd_types
|
||||
PRIVATE pmem::pmemobj)
|
||||
endif()
|
||||
|
||||
set(librbd_internal_srcs
|
||||
AsioEngine.cc
|
||||
AsyncObjectThrottle.cc
|
||||
|
Loading…
Reference in New Issue
Block a user