Provides: ceph-test:/usr/bin/ceph-kvstore-tool
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{with selinux}
Group: System/Filesystems
%endif
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: libcephfs2 = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rados = %{_epoch_prefix}%{version}-%{release}
Requires: python%{_python_buildid}-rbd = %{_epoch_prefix}%{version}-%{release}
%if 0%{?suse_version}
Group: System/Filesystems
%endif
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-fuse
FUSE based client to map Ceph rbd images to files
Group: System/Filesystems
%endif
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
+Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-mirror
Daemon for mirroring RBD images between Ceph clusters, streaming
changes asynchronously.
%if 0%{?suse_version}
Group: System/Filesystems
%endif
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librbd1 = %{_epoch_prefix}%{version}-%{release}
%description -n rbd-nbd
NBD based client to map Ceph rbd images to local device
%if 0%{with selinux}
Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release}
%endif
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librgw2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{?rhel} || 0%{?fedora}
Requires: mailcap
system. It is responsible for storing objects on a local file system
and providing access to them over the network.
-%package -n librados3
+%package -n librados2
Summary: RADOS distributed object store client library
%if 0%{?suse_version}
Group: System/Libraries
%if 0%{?rhel} || 0%{?fedora}
Obsoletes: ceph-libs < %{_epoch_prefix}%{version}-%{release}
%endif
-%description -n librados3
+%description -n librados2
RADOS is a reliable, autonomic distributed object storage cluster
developed as part of the Ceph distributed storage system. This is a
shared library allowing applications to access the distributed object
%if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: ceph-devel < %{_epoch_prefix}%{version}-%{release}
-Provides: librados3-devel = %{_epoch_prefix}%{version}-%{release}
-Obsoletes: librados3-devel < %{_epoch_prefix}%{version}-%{release}
+Provides: librados2-devel = %{_epoch_prefix}%{version}-%{release}
+Obsoletes: librados2-devel < %{_epoch_prefix}%{version}-%{release}
%description -n librados-devel
This package contains C libraries and headers needed to develop programs
that use RADOS object store.
-%package -n libradospp1
-Summary: RADOS distributed object store client C++ library
-%if 0%{?suse_version}
-Group: System/Libraries
-%endif
-%description -n libradospp1
-RADOS is a reliable, autonomic distributed object storage cluster
-developed as part of the Ceph distributed storage system. This is a
-shared library allowing C++ applications to access the distributed object
-store using a simple file-like interface.
-
%package -n libradospp-devel
Summary: RADOS headers
%if 0%{?suse_version}
Group: Development/Libraries/C and C++
%endif
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Requires: librados-devel = %{_epoch_prefix}%{version}-%{release}
%description -n libradospp-devel
This package contains C++ libraries and headers needed to develop programs
%if 0%{?suse_version}
Group: System/Libraries
%endif
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n librgw2
This package provides a library implementation of the RADOS gateway
(distributed object store with S3 and Swift personalities).
%if 0%{?suse_version}
Group: Development/Libraries/Python
%endif
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
Obsoletes: python-ceph < %{_epoch_prefix}%{version}-%{release}
%description -n python-rados
This package contains Python 2 libraries for interacting with Cephs RADOS
Group: Development/Libraries/Python
%endif
Requires: python%{python3_pkgversion}
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n python%{python3_pkgversion}-rados
This package contains Python 3 libraries for interacting with Cephs RADOS
object store.
%if 0%{?suse_version}
Group: System/Libraries
%endif
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%description -n libradosstriper1
Striping interface built on top of the rados library, allowing
to stripe bigger objects onto several standard rados objects using
%if 0%{?suse_version}
Group: System/Libraries
%endif
-Requires: librados3 = %{_epoch_prefix}%{version}-%{release}
-Requires: libradospp1 = %{_epoch_prefix}%{version}-%{release}
+Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
%if 0%{?suse_version}
Requires(post): coreutils
%endif
%endif
-%files -n librados3
+%files -n librados2
%{_libdir}/librados.so.*
%dir %{_libdir}/ceph
%{_libdir}/ceph/libceph-common.so.*
%{_libdir}/librados_tp.so.*
%endif
-%post -n librados3 -p /sbin/ldconfig
+%post -n librados2 -p /sbin/ldconfig
-%postun -n librados3 -p /sbin/ldconfig
+%postun -n librados2 -p /sbin/ldconfig
%files -n librados-devel
%dir %{_includedir}/rados
%{_bindir}/librados-config
%{_mandir}/man8/librados-config.8*
-%files -n libradospp1
-%{_libdir}/libradospp.so.*
-
-%post -n libradospp1 -p /sbin/ldconfig
-
-%postun -n libradospp1 -p /sbin/ldconfig
-
%files -n libradospp-devel
%dir %{_includedir}/rados
%{_includedir}/rados/buffer.h
%{_includedir}/rados/librados.hpp
%{_includedir}/rados/page.h
%{_includedir}/rados/rados_types.hpp
-%{_libdir}/libradospp.so
%if 0%{with python2}
%files -n python-rados
${shlibs:Depends},
Recommends: btrfs-tools,
ceph-mds (= ${binary:Version}),
- librados3 (= ${binary:Version}),
+ librados2 (= ${binary:Version}),
libradosstriper1 (= ${binary:Version}),
librbd1 (= ${binary:Version}),
ntp | time-daemon,
Package: rbd-mirror
Architecture: linux-any
Depends: ceph-common (= ${binary:Version}),
- librados3 (= ${binary:Version}),
+ librados2 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Ceph daemon for mirroring RBD images
Ceph with OCF-compliant cluster resource managers,
such as Pacemaker.
-Package: librados3
+Package: librados2
Conflicts: librados
Replaces: librados
Architecture: linux-any
shared library allowing applications to access the distributed object
store using a simple file-like interface.
-Package: librados3-dbg
+Package: librados2-dbg
Architecture: linux-any
Section: debug
Priority: extra
-Depends: librados3 (= ${binary:Version}),
+Depends: librados2 (= ${binary:Version}),
${misc:Depends},
Description: debugging symbols for librados
RADOS is a reliable, autonomic distributed object storage cluster
Package: librados-dev
Architecture: linux-any
Section: libdevel
-Depends: librados3 (= ${binary:Version}),
+Depends: librados2 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Conflicts: librados1-dev,
This package contains development files needed for building applications that
link against librados.
-Package: libradospp1
-Architecture: linux-any
-Section: libs
-Depends: ${misc:Depends},
- ${shlibs:Depends},
-Description: RADOS distributed object store client C++ library
- RADOS is a reliable, autonomic distributed object storage cluster
- developed as part of the Ceph distributed storage system. This is a
- shared library allowing C++ applications to access the distributed object
- store using a simple file-like C++ interface.
-
-Package: libradospp1-dbg
-Architecture: linux-any
-Section: debug
-Priority: extra
-Depends: libradospp1 (= ${binary:Version}),
- ${misc:Depends},
-Description: debugging symbols for libradospp1
- RADOS is a reliable, autonomic distributed object storage cluster
- developed as part of the Ceph distributed storage system. This is a
- shared library allowing applications to access the distributed object
- store using a simple file-like interface in C++.
- .
- This package contains debugging symbols for libradospp.
-
Package: libradospp-dev
Architecture: linux-any
Section: libdevel
Depends: librados-dev (= ${binary:Version}),
- libradospp1 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RADOS distributed object store client C++ library (development files)
Package: libradosstriper1
Architecture: linux-any
Section: libs
-Depends: librados3 (= ${binary:Version}),
+Depends: librados2 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RADOS striping interface
Package: librbd1
Architecture: linux-any
Section: libs
-Depends: librados3 (= ${binary:Version}),
+Depends: librados2 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RADOS block device client library
Package: librgw2
Architecture: linux-any
Section: libs
-Depends: librados3 (= ${binary:Version}),
+Depends: librados2 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RADOS Gateway client library
Package: python-rados
Architecture: linux-any
Section: python
-Depends: librados2 | librados3
+Depends: librados2 | librados2
${misc:Depends},
${python:Depends},
${shlibs:Depends},
Package: python3-rados
Architecture: linux-any
Section: python
-Depends: librados2 | librados3,
+Depends: librados2 | librados2,
${misc:Depends},
${python3:Depends},
${shlibs:Depends},
--- /dev/null
+usr/lib/ceph/libceph-common.so.*
+usr/lib/librados.so.*
+usr/lib/librados_tp.so.*
+++ /dev/null
-usr/lib/ceph/libceph-common.so.*
-usr/lib/librados.so.*
-usr/lib/librados_tp.so.*
usr/include/rados/librados.hpp
usr/include/rados/page.h
usr/include/rados/rados_types.hpp
-usr/lib/libradospp.so
+++ /dev/null
-usr/lib/libradospp.so.*
dh_strip -prbd-mirror --dbg-package=rbd-mirror-dbg
dh_strip -prbd-nbd --dbg-package=rbd-nbd-dbg
dh_strip -pceph-common --dbg-package=ceph-common-dbg
- dh_strip -plibrados3 --dbg-package=librados3-dbg
+ dh_strip -plibrados2 --dbg-package=librados2-dbg
dh_strip -plibradosstriper1 --dbg-package=libradosstriper1-dbg
dh_strip -plibrbd1 --dbg-package=librbd1-dbg
dh_strip -plibcephfs2 --dbg-package=libcephfs2-dbg
Once you have upgraded the packages and restarted daemons on your Ceph
cluster, we recommend upgrading ``ceph-common`` and client libraries
-(``librbd1`` , ``librados3`` and ``libradospp1``) on your client nodes too.
+(``librbd1`` and ``librados2``) on your client nodes too.
#. Upgrade the package::
ssh {client-host}
- apt-get update && sudo apt-get install ceph-common librados3 libradospp1 librbd1 python-rados python-rbd
+ apt-get update && sudo apt-get install ceph-common librados2 librbd1 python-rados python-rbd
#. Ensure that you have the latest version::
Remove Ceph packages from remote hosts. It detects the platform and distro of
selected host and uninstalls Ceph packages from it. However, some dependencies
-like ``librbd1`` and ``librados3`` will not be removed because they can cause
+like ``librbd1`` and ``librados2`` will not be removed because they can cause
issues with ``qemu-kvm``.
Usage::
Remove Ceph packages from remote hosts and purge all data. It detects the
platform and distro of selected host, uninstalls Ceph packages and purges all
-data. However, some dependencies like ``librbd1`` and ``librados3`` will not be
+data. However, some dependencies like ``librbd1`` and ``librados2`` will not be
removed because they can cause issues with ``qemu-kvm``.
Usage::
CXX?=g++
CXX_FLAGS?=-std=c++11 -Wno-unused-parameter -Wall -Wextra -Werror -g
-CXX_LIBS?=-lradospp -lradosstriper
+CXX_LIBS?=-lrados -lradosstriper
CXX_INC?=$(LOCAL_LIBRADOS_INC)
CXX_CC=$(CXX) $(CXX_FLAGS) $(CXX_INC) $(LOCAL_LIBRADOS)
- libcephfs-dev
- libcephfs-java
- libcephfs-jni
- - librados3
+ - librados2
- librbd1
- rbd-fuse
- ceph-common-dbg
- ceph-osd-dbg
- ceph-test-dbg
- libcephfs2-dbg
- - librados3-dbg
+ - librados2-dbg
- libradosstriper1-dbg
- librbd1-dbg
- librgw2-dbg
- libcephfs_jni1
- libcephfs2
- libcephfs-devel
- - librados3
+ - librados2
- librbd1
- python-ceph
- rbd-fuse
sudo apt-get -y purge ceph-common
sudo apt-get -y purge ceph-common-dbg
sudo apt-get -y purge ceph-resource-agents
-sudo apt-get -y purge librados3
-sudo apt-get -y purge librados3-dbg
+sudo apt-get -y purge librados2
+sudo apt-get -y purge librados2-dbg
sudo apt-get -y purge librados-dev
sudo apt-get -y purge librbd1
sudo apt-get -y purge librbd1-dbg
target_link_libraries(ceph-common ${ceph_common_deps})
# appease dpkg-shlibdeps
set_target_properties(ceph-common PROPERTIES
- SOVERSION 1
+ SOVERSION 0
INSTALL_RPATH "")
if(NOT APPLE AND NOT FREEBSD)
# Apple uses Mach-O, not ELF. so this option does not apply to APPLE.
librados_c.cc)
add_library(rados_cxx_api OBJECT
librados_cxx.cc)
-add_library(rados_cxx STATIC
- $<TARGET_OBJECTS:rados_cxx_api>)
if(WITH_LTTNG)
add_dependencies(librados_impl librados-tp)
add_dependencies(rados_c_api librados-tp)
add_dependencies(rados_cxx_api librados-tp)
endif()
-# C API
+# C/C++ API
add_library(librados ${CEPH_SHARED}
- $<TARGET_OBJECTS:rados_c_api>)
+ $<TARGET_OBJECTS:rados_c_api>
+ $<TARGET_OBJECTS:rados_cxx_api>)
if(ENABLE_SHARED)
set_target_properties(librados PROPERTIES
OUTPUT_NAME rados
endif()
target_link_libraries(librados PRIVATE
- rados_cxx librados_impl
- osdc ceph-common cls_lock_client
+ librados_impl osdc ceph-common cls_lock_client
${BLKID_LIBRARIES} ${CRYPTO_LIBS} ${EXTRALIBS} ${GSSAPI_LIBRARIES})
target_link_libraries(librados ${rados_libs})
install(TARGETS librados DESTINATION ${CMAKE_INSTALL_LIBDIR})
-# C++ API
-add_library(librados-cxx ${CEPH_SHARED}
- $<TARGET_OBJECTS:rados_cxx_api>)
-if(ENABLE_SHARED)
- set_target_properties(librados-cxx PROPERTIES
- OUTPUT_NAME radospp
- VERSION 1.0.0
- SOVERSION 1
- CXX_VISIBILITY_PRESET hidden
- VISIBILITY_INLINES_HIDDEN ON)
- if(NOT APPLE)
- set_property(TARGET librados-cxx APPEND_STRING PROPERTY
- LINK_FLAGS " -Wl,--exclude-libs,ALL")
- endif()
-endif(ENABLE_SHARED)
-target_link_libraries(librados-cxx
- PUBLIC
- librados
- PRIVATE
- librados_impl cls_lock_client ceph-common)
-install(TARGETS librados-cxx DESTINATION ${CMAKE_INSTALL_LIBDIR})
-
if(WITH_LTTNG AND WITH_EVENTTRACE)
add_dependencies(librados_api_obj eventtrace_tp)
endif()
${libradosstriper_srcs})
target_link_libraries(radosstriper
PRIVATE
- librados-cxx
+ librados
librados_impl cls_lock_client osdc ceph-common
pthread ${CRYPTO_LIBS} ${EXTRALIBS})
set_target_properties(radosstriper PROPERTIES
rbd_internal
rbd_types
journal
- librados-cxx
+ librados
cls_rbd_client
cls_lock_client
cls_journal_client
rbd_loc.cc
Replayer.cc)
add_library(rbd_replay STATIC ${librbd_replay_srcs})
-target_link_libraries(rbd_replay PRIVATE librbd librados-cxx global)
+target_link_libraries(rbd_replay PRIVATE librbd librados global)
add_executable(rbd-replay
rbd-replay.cc)
target_link_libraries(rgw_a
PUBLIC dmclock::dmclock
PRIVATE
- librados-cxx cls_otp_client cls_lock_client cls_rgw_client cls_refcount_client
+ librados cls_otp_client cls_lock_client cls_rgw_client cls_refcount_client
cls_log_client cls_timeindex_client cls_version_client
cls_user_client ceph-common common_utf8 global
${CURL_LIBRARIES}
add_dependencies(rgw_admin_user civetweb_h)
target_link_libraries(rgw_admin_user PRIVATE
- librados-cxx
+ librados
cls_rgw_client
cls_otp_client
cls_lock_client
add_executable(ceph_test_mutate
test_mutate.cc
)
-target_link_libraries(ceph_test_mutate global librados-cxx ${BLKID_LIBRARIES}
+target_link_libraries(ceph_test_mutate global librados ${BLKID_LIBRARIES}
${CMAKE_DL_LIBS})
# test_trans
${omapbench_srcs}
)
target_link_libraries(ceph_omapbench
- librados-cxx
+ librados
Boost::program_options
global
${BLKID_LIBRARIES}
${CMAKE_SOURCE_DIR}/src/key_value_store/kv_flat_btree_async.cc
)
add_executable(ceph_kvstorebench ${kvstorebench_srcs})
- target_link_libraries(ceph_kvstorebench librados-cxx global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
+ target_link_libraries(ceph_kvstorebench librados global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
install(TARGETS ceph_kvstorebench DESTINATION bin)
endif(WITH_KVS)
add_executable(ceph_multi_stress_watch
multi_stress_watch.cc
)
-target_link_libraries(ceph_multi_stress_watch librados-cxx global radostest-cxx
+target_link_libraries(ceph_multi_stress_watch librados global radostest-cxx
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
#ceph_perf_local
test_stress_watch.cc
)
target_link_libraries(ceph_test_stress_watch
- librados-cxx
+ librados
${UNITTEST_LIBS}
radostest-cxx
${EXTRALIBS}
test_cls_hello.cc
)
target_link_libraries(ceph_test_cls_hello
- librados-cxx
+ librados
global
${EXTRALIBS}
${BLKID_LIBRARIES}
$<TARGET_OBJECTS:common_texttable_obj>)
target_link_libraries(ceph_test_cls_journal
cls_journal_client
- librados-cxx
+ librados
global
${UNITTEST_LIBS}
${CMAKE_DL_LIBS}
)
target_link_libraries(ceph_test_cls_lock
cls_lock_client
- librados-cxx
+ librados
global
${UNITTEST_LIBS}
${BLKID_LIBRARIES}
add_executable(ceph_test_cls_log
test_cls_log.cc)
target_link_libraries(ceph_test_cls_log
- librados-cxx
+ librados
cls_log_client
global
radostest-cxx
target_link_libraries(ceph_test_cls_lua
cls_lua_client
liblua
- librados-cxx
+ librados
global
${UNITTEST_LIBS}
${EXTRALIBS}
add_executable(ceph_test_cls_numops
test_cls_numops.cc)
target_link_libraries(ceph_test_cls_numops
- librados-cxx
+ librados
global
cls_numops_client
${EXTRALIBS}
target_link_libraries(ceph_test_cls_rbd
cls_rbd_client
cls_lock_client
- librados-cxx
+ librados
global
${UNITTEST_LIBS}
${CMAKE_DL_LIBS}
test_cls_refcount.cc
)
target_link_libraries(ceph_test_cls_refcount
- librados-cxx
+ librados
cls_refcount_client
global
${UNITTEST_LIBS}
)
target_link_libraries(ceph_test_cls_rgw
cls_rgw_client
- librados-cxx
+ librados
global
${UNITTEST_LIBS}
${EXTRALIBS}
test_cls_sdk.cc
)
target_link_libraries(ceph_test_cls_sdk
- librados-cxx
+ librados
global
${EXTRALIBS}
${BLKID_LIBRARIES}
test_cls_version.cc
)
target_link_libraries(ceph_test_cls_version
- librados-cxx
+ librados
cls_version_client
global
${UNITTEST_LIBS}
add_executable(ceph_test_rados_api_cmd_pp
cmd_cxx.cc)
target_link_libraries(ceph_test_rados_api_cmd_pp
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_io
io.cc)
add_executable(ceph_test_rados_api_io_pp
io_cxx.cc)
target_link_libraries(ceph_test_rados_api_io_pp
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_c_write_operations
c_write_operations.cc)
add_executable(ceph_test_rados_api_aio_pp
aio_cxx.cc)
target_link_libraries(ceph_test_rados_api_aio_pp
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_asio asio.cc)
target_link_libraries(ceph_test_rados_api_asio global
- librados-cxx ${UNITTEST_LIBS})
+ librados ${UNITTEST_LIBS})
if(WITH_BOOST_CONTEXT)
target_link_libraries(ceph_test_rados_api_asio Boost::coroutine Boost::context)
endif()
add_executable(ceph_test_rados_api_stat_pp
stat_cxx.cc)
target_link_libraries(ceph_test_rados_api_stat_pp
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_watch_notify
watch_notify.cc)
add_executable(ceph_test_rados_api_watch_notify_pp
watch_notify_cxx.cc)
target_link_libraries(ceph_test_rados_api_watch_notify_pp
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_cls
cls.cc)
target_link_libraries(ceph_test_rados_api_cls
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_misc
misc.cc
misc_cxx.cc
$<TARGET_OBJECTS:unit-main>)
target_link_libraries(ceph_test_rados_api_misc_pp
- librados-cxx global ${UNITTEST_LIBS} radostest-cxx)
+ librados global ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_lock
lock.cc)
add_executable(ceph_test_rados_api_lock_pp
lock_cxx.cc)
target_link_libraries(ceph_test_rados_api_lock_pp
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_service
service.cc)
add_executable(ceph_test_rados_api_service_pp
service_cxx.cc)
target_link_libraries(ceph_test_rados_api_service_pp
- librados-cxx global ${UNITTEST_LIBS} radostest-cxx)
+ librados global ${UNITTEST_LIBS} radostest-cxx)
add_executable(ceph_test_rados_api_tier_pp
tier_cxx.cc
$<TARGET_OBJECTS:unit-main>)
target_link_libraries(ceph_test_rados_api_tier_pp
- librados-cxx global ${UNITTEST_LIBS} Boost::system radostest-cxx)
+ librados global ${UNITTEST_LIBS} Boost::system radostest-cxx)
add_executable(ceph_test_rados_api_snapshots
snapshots.cc)
add_executable(ceph_test_rados_api_snapshots_pp
snapshots_cxx.cc)
target_link_libraries(ceph_test_rados_api_snapshots_pp
- librados-cxx ${UNITTEST_LIBS} radostest-cxx)
+ librados ${UNITTEST_LIBS} radostest-cxx)
install(TARGETS
ceph_test_rados_api_aio
// this function replicates
// librados::operator<<(std::ostream& os, const librados::ObjectCursor& oc)
-// because we don't want to use librados-cxx in librados client.
+// because we don't want to use librados in librados client.
std::ostream& operator<<(std::ostream&os, const rados_object_list_cursor& oc)
{
if (oc) {
#include "include/buffer_fwd.h"
-// helpers shared by librados and librados-cxx tests
+// helpers shared by librados tests
std::string get_temp_pool_name(const std::string &prefix = "test-rados-api-");
void assert_eq_sparse(ceph::bufferlist& expected,
const std::map<uint64_t, uint64_t>& extents,
target_link_libraries(ceph_test_rados_striper_api_striping
${UNITTEST_LIBS} rados_striper_test
radosstriper
- librados
- librados-cxx)
+ librados)
install(TARGETS ceph_test_rados_striper_api_striping
DESTINATION ${CMAKE_INSTALL_BINDIR})
target_link_libraries(ceph_test_rados_striper_api_io
${UNITTEST_LIBS} rados_striper_test
radosstriper
- librados
- librados-cxx)
+ librados)
install(TARGETS ceph_test_rados_striper_api_io
DESTINATION ${CMAKE_INSTALL_BINDIR})
add_executable(ceph_test_rados_striper_api_aio
aio.cc)
-target_link_libraries(ceph_test_rados_striper_api_aio librados-cxx radosstriper
+target_link_libraries(ceph_test_rados_striper_api_aio librados radosstriper
${UNITTEST_LIBS} rados_striper_test)
install(TARGETS ceph_test_rados_striper_api_aio
DESTINATION ${CMAKE_INSTALL_BINDIR})
cls_journal_client
cls_rbd_client
librados
- librados-cxx
${UNITTEST_LIBS}
radostest)
target_compile_definitions(ceph_test_librbd PRIVATE "TEST_LIBRBD_INTERNALS")
radostest-cxx
librbd
librados
- librados-cxx
${UNITTEST_LIBS})
add_executable(ceph_test_librbd_fsx
target_link_libraries(ceph_test_librbd_fsx
librbd
librados
- librados-cxx
journal
global
m
RadosModel.cc
)
target_link_libraries(ceph_test_rados
- librados-cxx
+ librados
global
${BLKID_LIBRARIES}
${CMAKE_DL_LIBS}
cls_lock_client
cls_journal_client
rbd_types
- librados-cxx
+ librados
osdc
global
radostest-cxx
cls_rbd_client
cls_journal_client
rbd_types
- librados-cxx
+ librados
radostest-cxx
${UNITTEST_LIBS}
)
add_executable(ceph_test_rbd_mirror_random_write
random_write.cc)
target_link_libraries(ceph_test_rbd_mirror_random_write
- librbd librados-cxx global)
+ librbd librados global)
install(TARGETS
ceph_test_rbd_mirror
${PROJECT_SOURCE_DIR}/src/osd/ECUtil.cc)
add_executable(rados ${rados_srcs})
-target_link_libraries(rados librados-cxx global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
+target_link_libraries(rados librados global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
if(WITH_LIBRADOSSTRIPER)
target_link_libraries(rados radosstriper)
else()
install(TARGETS ceph_scratchtool DESTINATION bin)
add_executable(ceph_scratchtoolpp scratchtoolpp.cc)
-target_link_libraries(ceph_scratchtoolpp librados-cxx global)
+target_link_libraries(ceph_scratchtoolpp librados global)
install(TARGETS ceph_scratchtoolpp DESTINATION bin)
add_executable(ceph_radosacl radosacl.cc)
-target_link_libraries(ceph_radosacl librados-cxx global)
+target_link_libraries(ceph_radosacl librados global)
install(TARGETS ceph_radosacl DESTINATION bin)
install(PROGRAMS
set(cephdeduptool_srcs ceph_dedup_tool.cc)
add_executable(cephdeduptool ${cephdeduptool_srcs})
-target_link_libraries(cephdeduptool librados-cxx global cls_cas_client)
+target_link_libraries(cephdeduptool librados global cls_cas_client)
install(TARGETS cephdeduptool DESTINATION bin)
if(WITH_CEPHFS)
RoleSelector.cc
MDSUtility.cc)
add_executable(cephfs-journal-tool ${cephfs_journal_tool_srcs})
-target_link_libraries(cephfs-journal-tool librados-cxx mds osdc global
+target_link_libraries(cephfs-journal-tool librados mds osdc global
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
set(cephfs_table_tool_srcs
RoleSelector.cc
MDSUtility.cc)
add_executable(cephfs-table-tool ${cephfs_table_tool_srcs})
-target_link_libraries(cephfs-table-tool librados-cxx mds osdc global
+target_link_libraries(cephfs-table-tool librados mds osdc global
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
set(cephfs_data_scan_srcs
PgFiles.cc
MDSUtility.cc)
add_executable(cephfs-data-scan ${cephfs_data_scan_srcs})
-target_link_libraries(cephfs-data-scan librados-cxx cephfs mds osdc global
+target_link_libraries(cephfs-data-scan librados cephfs mds osdc global
cls_cephfs_client
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
add_executable(rbd ${rbd_srcs}
$<TARGET_OBJECTS:common_texttable_obj>)
set_target_properties(rbd PROPERTIES OUTPUT_NAME rbd)
-target_link_libraries(rbd librbd librados-cxx
+target_link_libraries(rbd librbd librados
cls_journal_client cls_rbd_client
rbd_types
journal
debug.cc
ggate_drv.c
main.cc)
-target_link_libraries(rbd-ggate geom librbd librados-cxx global)
+target_link_libraries(rbd-ggate geom librbd librados global)
install(TARGETS rbd-ggate DESTINATION bin)
rbd_internal
rbd_types
journal
- librados-cxx
+ librados
osdc
cls_rbd_client
cls_lock_client
add_executable(rbd-nbd rbd-nbd.cc)
-target_link_libraries(rbd-nbd librbd librados-cxx global)
+target_link_libraries(rbd-nbd librbd librados global)
install(TARGETS rbd-nbd DESTINATION bin)