]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: Enable LZ4 if required library is available.
authorGrant Slater <grant.slater@wearefriday.com>
Tue, 15 Aug 2017 15:58:35 +0000 (16:58 +0100)
committerCasey Bodley <cbodley@redhat.com>
Thu, 12 Apr 2018 13:35:24 +0000 (09:35 -0400)
Signed-off-by: Grant Slater <grant.slater@wearefriday.com>
CMakeLists.txt
PendingReleaseNotes

index 8693f1ebe5a253084aae31b26b66c541b574d911..bc4cb19bce0ca3c208b04d661f7e5d0a3216d769 100644 (file)
@@ -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})
index e1e5322a6c5ff5c012225958ad8ae59d7735a9dc..b036502d54e46a21b245d85205a6d46bbae81326 100644 (file)
@@ -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.