Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 28151a4d3f | |||
| 38c140c0cc | |||
| c07ab22bea | |||
| 55eb46634f | |||
| 7d5f39dc53 | |||
| 85090b4821 | |||
| 6bd23ae9b4 |
@@ -0,0 +1,11 @@
|
||||
--- ceph-13.1.0/src/spdk/lib/blob/blobstore.c.orig 2018-05-08 16:04:30.329933925 -0400
|
||||
+++ ceph-13.1.0/src/spdk/lib/blob/blobstore.c 2018-05-08 16:04:55.240933925 -0400
|
||||
@@ -2947,7 +2947,7 @@
|
||||
|
||||
/* START spdk_blob_resize */
|
||||
int
|
||||
-spdk_blob_resize(struct spdk_blob *_blob, uint64_t sz)
|
||||
+spdk_blob_resize(struct spdk_blob *_blob, size_t sz)
|
||||
{
|
||||
struct spdk_blob_data *blob = __blob_to_data(_blob);
|
||||
int rc;
|
||||
@@ -1,24 +0,0 @@
|
||||
--- ceph-12.2.11/src/osd/PrimaryLogPG.cc.orig 2019-02-02 01:29:42.853608099 -0500
|
||||
+++ ceph-12.2.11/src/osd/PrimaryLogPG.cc 2019-02-02 12:39:33.841608099 -0500
|
||||
@@ -1582,8 +1582,9 @@
|
||||
if (limit != eversion_t() &&
|
||||
limit != pg_trim_to &&
|
||||
pg_log.get_log().approx_size() > target) {
|
||||
+ size_t osd_pg_log_trim_max = cct->_conf->osd_pg_log_trim_max;
|
||||
size_t num_to_trim = std::min(pg_log.get_log().approx_size() - target,
|
||||
- cct->_conf->osd_pg_log_trim_max);
|
||||
+ osd_pg_log_trim_max);
|
||||
if (num_to_trim < cct->_conf->osd_pg_log_trim_min &&
|
||||
cct->_conf->osd_pg_log_trim_max >= cct->_conf->osd_pg_log_trim_min) {
|
||||
return;
|
||||
@@ -1628,8 +1629,9 @@
|
||||
pg_log.get_log().approx_size() > target) {
|
||||
dout(10) << __func__ << " approx pg log length = "
|
||||
<< pg_log.get_log().approx_size() << dendl;
|
||||
+ size_t osd_pg_log_trim_max = cct->_conf->osd_pg_log_trim_max;
|
||||
size_t num_to_trim = std::min(pg_log.get_log().approx_size() - target,
|
||||
- cct->_conf->osd_pg_log_trim_max);
|
||||
+ 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 &&
|
||||
cct->_conf->osd_pg_log_trim_max >= cct->_conf->osd_pg_log_trim_min) {
|
||||
@@ -85,7 +85,7 @@
|
||||
# main package definition
|
||||
#################################################################################
|
||||
Name: ceph
|
||||
Version: 12.2.12
|
||||
Version: 12.2.8
|
||||
Release: 1%{?dist}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Epoch: 1
|
||||
@@ -106,8 +106,6 @@ Patch001: 0001-src-rocksdb-util-murmurhash.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1474774
|
||||
Patch002: 0002-cmake-Support-ppc64.patch
|
||||
Patch003: 0003-librbd-Conditionally-import-TrimRequest.cc.patch
|
||||
Patch005: 0005-src-rocksdb-table-block.h.patch
|
||||
Patch007: 0007-src-osd-PrimaryLogPG.cc.patch
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?is_opensuse}
|
||||
ExclusiveArch: x86_64 aarch64 ppc64 ppc64le
|
||||
@@ -283,25 +281,14 @@ Requires: python-requests
|
||||
Requires: python-setuptools
|
||||
Requires: grep
|
||||
Requires: xfsprogs
|
||||
Requires: e2fsprogs
|
||||
Requires: logrotate
|
||||
Requires: parted
|
||||
Requires: util-linux
|
||||
Requires: cryptsetup
|
||||
Requires: findutils
|
||||
Requires: psmisc
|
||||
Requires: which
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: gdisk
|
||||
# The following is necessary due to tracker 36508 and can be removed once the
|
||||
# associated upstream bugs are resolved.
|
||||
%if 0%{with tcmalloc}
|
||||
Requires: gperftools-libs >= 2.6.1
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Recommends: ntp-daemon
|
||||
Requires: gptfdisk
|
||||
%endif
|
||||
%description base
|
||||
Base is the package that includes all the files shared amongst ceph servers
|
||||
@@ -413,7 +400,7 @@ Summary: Ceph daemon for mirroring RBD images
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: librados2 = %{_epoch_prefix}%{version}-%{release}
|
||||
%description -n rbd-mirror
|
||||
Daemon for mirroring RBD images between Ceph clusters, streaming
|
||||
@@ -434,7 +421,7 @@ Summary: Rados REST gateway
|
||||
%if 0%{?suse_version}
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
Requires: ceph-common = %{_epoch_prefix}%{version}-%{release}
|
||||
%if 0%{with selinux}
|
||||
Requires: ceph-selinux = %{_epoch_prefix}%{version}-%{release}
|
||||
%endif
|
||||
@@ -469,6 +456,14 @@ Summary: Ceph Object Storage Daemon
|
||||
Group: System/Filesystems
|
||||
%endif
|
||||
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
||||
# for sgdisk, used by ceph-disk
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: gdisk
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Requires: gptfdisk
|
||||
%endif
|
||||
Requires: parted
|
||||
Requires: lvm2
|
||||
%description osd
|
||||
ceph-osd is the object storage daemon for the Ceph distributed file
|
||||
@@ -910,8 +905,6 @@ cmake .. \
|
||||
%endif
|
||||
-DBOOST_J=%{_smp_ncpus}
|
||||
|
||||
export VERBOSE=1
|
||||
export V=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@@ -1803,38 +1796,16 @@ exit 0
|
||||
# We need an empty %%files list for python-ceph-compat, to tell rpmbuild to
|
||||
# actually build this meta package.
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 12 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.12-1
|
||||
- New release (1:12.2.12-1)
|
||||
|
||||
* Fri Feb 1 2019 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.11-1
|
||||
- New release (1:12.2.11-1)
|
||||
|
||||
* Fri Dec 7 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.10-1
|
||||
- New release (1:12.2.10-1)
|
||||
|
||||
* Mon Oct 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.9-1
|
||||
- New release (1:12.2.9-1)
|
||||
|
||||
* Fri Aug 31 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.8-1
|
||||
- New release (1:12.2.8-1)
|
||||
|
||||
* Wed Jul 18 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.7-1
|
||||
- New release (1:12.2.7-1)
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:12.2.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jul 11 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.6-1
|
||||
- New release (1:12.2.6-1)
|
||||
|
||||
* Mon Jul 2 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-3
|
||||
- New release (1:12.2.5-3) w/ python-3.7
|
||||
|
||||
* Fri Jun 29 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-2
|
||||
- New release (1:12.2.5-2)
|
||||
|
||||
* Fri Apr 27 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 1:12.2.5-1
|
||||
- New release (1:12.2.5-1)
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
SHA512 (ceph-12.2.12.tar.gz) = e694c9a8c1f9836c08fb74b54423bdc16d4900252e34643c56cf1a615d4dacddfb13df06a6a9f68bb9d438f5f07069ed358f9fa4b5a362640a3046f9c7722dcc
|
||||
SHA512 (ceph-12.2.8.tar.gz) = 91c5c11aaeef701b3e31c9f8a1192b6b79fd34f3b96c61595c65173c98bfce0009c5b7c9b29764f5e4d4b1f5ac2ca7109fed5ae598c176aba717a34a132fabac
|
||||
|
||||
Reference in New Issue
Block a user