diff --git a/0007-src-osd-PrimaryLogPG.cc.patch b/0007-src-osd-PrimaryLogPG.cc.patch new file mode 100644 index 0000000..c369601 --- /dev/null +++ b/0007-src-osd-PrimaryLogPG.cc.patch @@ -0,0 +1,19 @@ +--- ceph-12.2.9/src/osd/PrimaryLogPG.cc.orig 2018-10-29 09:12:57.766116270 -0400 ++++ ceph-12.2.9/src/osd/PrimaryLogPG.cc 2018-10-29 09:32:37.146116270 -0400 +@@ -20,6 +20,7 @@ + #include "PG.h" + #include "PrimaryLogPG.h" + #include "OSD.h" ++#include + #include "OpRequest.h" + #include "ScrubStore.h" + #include "Session.h" +@@ -1586,7 +1587,7 @@ + pg_log.get_log().approx_size() > target) { + dout(10) << __func__ << " approx pg log length = " + << pg_log.get_log().approx_size() << dendl; +- size_t num_to_trim = std::min(pg_log.get_log().approx_size() - target, ++ size_t num_to_trim = std::min(pg_log.get_log().approx_size() - target, + cct->_conf->osd_pg_log_trim_max); + dout(10) << __func__ << " num_to_trim = " << num_to_trim << dendl; + if (num_to_trim < cct->_conf->osd_pg_log_trim_min && diff --git a/ceph.spec b/ceph.spec index 4f7c197..85cbcc6 100644 --- a/ceph.spec +++ b/ceph.spec @@ -114,6 +114,7 @@ Patch002: 0002-cmake-Support-ppc64.patch Patch003: 0003-librbd-Conditionally-import-TrimRequest.cc.patch Patch005: 0005-src-rocksdb-table-block.h.patch Patch006: 0006-f30py3.patch +Patch007: 0007-src-osd-PrimaryLogPG.cc.patch %if 0%{?suse_version} %if 0%{?is_opensuse} ExclusiveArch: x86_64 aarch64 ppc64 ppc64le @@ -1862,6 +1863,9 @@ exit 0 %changelog +* Mon Oct 29 2018 Kaleb S. KEITHLEY - 1:12.2.9-1 +- New release (1:12.2.9-1) + * Wed Sep 12 2018 Kaleb S. KEITHLEY - 1:12.2.8-2 - Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk, ceph-volume, and ceph-volume-systemd are missing in this build