From bb2da9302cd24d74928cd63f8cd1449e7151076a Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 15 Aug 2017 16:58:35 +0100 Subject: [PATCH] cmake: Enable LZ4 if required library is available. Signed-off-by: Grant Slater --- CMakeLists.txt | 2 +- PendingReleaseNotes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8693f1ebe5a25..bc4cb19bce0ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -298,7 +298,7 @@ if(WITH_BROTLI) set(HAVE_BROTLI TRUE) endif() -option(WITH_LZ4 "LZ4 compression support" OFF) +option(WITH_LZ4 "LZ4 compression support" ON) if(WITH_LZ4) find_package(LZ4 1.7 REQUIRED) set(HAVE_LZ4 ${LZ4_FOUND}) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index e1e5322a6c5ff..b036502d54e46 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -170,3 +170,8 @@ method. See http://docs.ceph.com/docs/luminous/mgr/restful for details. can only express printable strings. If binary blobs are present, the 'ceph config-key dump' command will show them as something like ``<<< binary blob of length N >>>``. + +* The Ceph LZ4 compression plugin is now built by default if the required + version of the LZ4 library is available. LZ4 is not enabled in the official + Ceph releases due to some distros shipping with a very old releases of the + LZ4 library which does not have the required LZ4 streaming function. -- 2.39.5