mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
Merge pull request #38514 from lixiaoy1/rbd_types_fix
librbd/cmake: Add missed PWL related types Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
commit
067dc85af4
@ -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