From: Grant Slater Date: Tue, 15 Aug 2017 15:58:35 +0000 (+0100) Subject: cmake: Enable LZ4 if required library is available. X-Git-Tag: v13.1.0~287^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb2da9302cd24d74928cd63f8cd1449e7151076a;p=ceph.git cmake: Enable LZ4 if required library is available. Signed-off-by: Grant Slater --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8693f1ebe5a2..bc4cb19bce0c 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 e1e5322a6c5f..b036502d54e4 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.