Compare commits

...

208 Commits

Author SHA1 Message Date
Kaleb S. KEITHLEY 6070bb33a4 Merge remote-tracking branch 'origin/f29' into f28 2019-04-14 15:53:07 -04:00
Kaleb S. KEITHLEY 3ea101b5f8 New release (1:12.2.12-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-04-14 07:14:14 -04:00
Kaleb S. KEITHLEY 9c81e4aa16 Merge remote-tracking branch 'origin/f29' into f28 2019-02-11 13:19:44 -05:00
Kaleb S. KEITHLEY b6c241b3ba Merge branch 'f29' of ssh://pkgs.fedoraproject.org/rpms/ceph into f29 2019-02-11 11:43:46 -05:00
Kaleb S. KEITHLEY 139ca7f855 New release (1:12.2.11-1)
with patch 0008-src-rgw-CMakeLists.txt.patch required for s390x.
(Doesn't seem to matter for other archs.)

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-02-11 11:39:51 -05:00
Kaleb S. KEITHLEY 0dc0a3b4ea New release (1:12.2.11-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-02-02 16:39:11 -05:00
Kaleb S. KEITHLEY 8712f3a821 Merge remote-tracking branch 'origin/f29' into f28 2019-02-01 07:38:04 -05:00
Kaleb S. KEITHLEY bcd1d2c14d New release (1:12.2.11-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2019-02-01 07:32:23 -05:00
Kaleb S. KEITHLEY 598d413716 Merge remote-tracking branch 'origin/f29' into f28 2018-12-11 10:20:32 -05:00
Kaleb S. KEITHLEY 136952fcef New release (1:12.2.10-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-12-11 10:02:21 -05:00
Kaleb S. KEITHLEY 111eb3cffc New release (1:12.2.9-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-31 08:42:04 -04:00
Kaleb S. KEITHLEY d64bc50440 Merge remote-tracking branch 'origin/f29' into f28 2018-10-31 07:39:22 -04:00
Kaleb S. KEITHLEY 51de52976c ceph 12.2.9 again 2018-10-30 09:52:32 -04:00
Kaleb S. KEITHLEY 0836694d12 New release (1:12.2.9-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-30 07:23:51 -04:00
Kaleb S. KEITHLEY 8bb9133870 New release (1:12.2.9-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-29 09:56:03 -04:00
Kaleb S. KEITHLEY d73f4ea8b1 Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk,
ceph-volume, and ceph-volume-systemd are missing in this build

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-10-29 07:57:06 -04:00
Kaleb S. KEITHLEY 96e17e7360 Fedora 30 python3. Note ceph-mgr subpackage, ceph-detect-init, ceph-disk,
ceph-volume, and ceph-volume-systemd are missing in this build

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-09-14 09:53:41 -04:00
Kaleb S. KEITHLEY 71beeeca2e New release (1:12.2.8-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-09-05 07:10:02 -04:00
Kaleb S. KEITHLEY 913d33f992 New release (1:12.2.8-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-09-05 07:09:37 -04:00
Kaleb S. KEITHLEY 2d75781cd8 New release (1:12.2.8-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-08-31 13:38:49 -04:00
Igor Gnatenko ce9ff30f1c %{python_sitearch} → %{python2_sitearch}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-30 00:22:27 +02:00
Igor Gnatenko 7a061682c0 python-devel → python2-devel
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:39:13 +02:00
Igor Gnatenko 2c2513ea41 %{python_sitelib} → %{python2_sitelib}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-29 23:11:50 +02:00
Kaleb S. KEITHLEY a4054a83fc New release (1:12.2.7-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-18 13:09:25 -04:00
Kaleb S. KEITHLEY 25a7091990 New release (1:12.2.7-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-18 12:50:59 -04:00
Kaleb S. KEITHLEY 258cd68cc3 New release (1:12.2.7-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-18 12:49:59 -04:00
Kaleb S. KEITHLEY 1b6e363bd1 New release (1:12.2.7-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-18 09:59:46 -04:00
Fedora Release Engineering 0fb6d3aa05 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:41:00 +00:00
Kaleb S. KEITHLEY 0717b74645 New release (1:12.2.6-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-11 13:18:23 -04:00
Kaleb S. KEITHLEY 294576f608 New release (1:12.2.6-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-11 09:01:29 -04:00
Kaleb S. KEITHLEY 9aeaf53af5 New release (1:12.2.5-3) w/ python-3.7
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-02 09:34:50 -04:00
Kaleb S. KEITHLEY 9b4d3225ea New release (1:12.2.5-2)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-07-01 06:35:53 -04:00
Kaleb S. KEITHLEY 9094835645 New release (1:13.2.0-3)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-06-28 02:04:51 -04:00
Miro Hrončok 200f2e06d2 Rebuilt for Python 3.7 2018-06-19 10:41:00 +02:00
Kaleb S. KEITHLEY b79737d3df New release (1:13.1.0-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-05-08 11:57:37 -04:00
Kaleb S. KEITHLEY 448a2831f1 New release (1:12.2.5-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-04-27 12:41:51 -04:00
Rafael dos Santos f8d1aef3e0 Use standard Fedora linker flags
- Resolves #1547552

Signed-off-by: Rafael dos Santos <rdossant@redhat.com>
2018-04-13 20:16:25 +02:00
Kaleb S. KEITHLEY 27007491d5 New release (1:12.2.4-1)
rhbz#1446610, rhbz#1546611, cephbz#23039

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-03-02 10:15:28 -05:00
Kaleb S. KEITHLEY 1f528edb6d New release (1:12.2.3-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-22 13:27:53 -05:00
Kaleb S. KEITHLEY d40e5a4fa7 New release (1:12.2.3-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-21 14:26:53 -05:00
Kaleb S. KEITHLEY 62fe6ff0a5 %ldconfig_scriptlets
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-15 16:37:22 -05:00
Kaleb S. KEITHLEY af74115926 no ldconfig in F28
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2018-02-15 14:03:04 -05:00
Igor Gnatenko 4d07e55558 Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:03:11 +01:00
Fedora Release Engineering 23d2d787d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 04:44:37 +00:00
Boris Ranto 21366787e7 Fix the arm compile patch 2017-12-08 14:25:30 +01:00
Boris Ranto 46defddf84 Fix build error on arm 2017-12-08 00:26:18 +01:00
Kaleb S. KEITHLEY 77bab0ff4b New release (1:12.2.2-1)
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2017-12-06 14:03:41 -05:00
Boris Ranto a262d185e8 Obsolete ceph-libs-compat package 2017-10-05 14:17:39 +02:00
Kaleb S. KEITHLEY 629de101fc New release (1:12.2.1-1) 2017-09-28 11:13:42 -04:00
Kaleb S. KEITHLEY 6d3068e83f New release (1:12.2.0-1) 2017-08-29 18:05:55 -04:00
Kaleb S. KEITHLEY 23bb1c9d84 libibverbs(-devel) is superceded by rdma-core(-devel), again 2017-08-24 15:56:16 -04:00
Adam Williamson 3cac6fb618 Fix up that last commit (it dropped the rdma dep on Fedora)
Previous committer didn't notice this block is split between
SUSE and Fedora, and the effect of his change was to completely
remove Fedora's build dependency on rdma.
2017-08-24 12:46:53 -07:00
Kaleb S. KEITHLEY 7dfd488d6d libibverbs(-devel) is superceded by rdma-core(-devel) 2017-08-24 13:15:00 -04:00
Adam Williamson 1bc288fec0 Having a comment here causes the command to run prematurely... 2017-08-23 15:28:04 -07:00
Adam Williamson 76c62774fd Merge branch 'master' into f27 2017-08-23 09:06:04 -07:00
Adam Williamson bcc0c8937e Disable RDMA support on 32-bit ARM (#1484155) 2017-08-23 09:05:57 -07:00
Adam Williamson c19045b383 Disable RDMA support on 32-bit ARM (#1484155) 2017-08-23 09:00:09 -07:00
Kaleb S. KEITHLEY 30b06a8179 fix %epoch in comment, ppc64le lowmem_builder 2017-08-18 09:25:01 -04:00
Kaleb S. KEITHLEY 02830d2e48 fix %epoch in comment, ppc64le lowmem_builder 2017-08-17 06:44:51 -04:00
Kaleb S. KEITHLEY 597c68f78d New release (1:12.1.4-1) 2017-08-16 09:26:22 -04:00
Kaleb S. KEITHLEY 01f8d36756 New release (1:12.1.3-1) 2017-08-12 08:56:02 -04:00
Kaleb S. KEITHLEY 565f975165 New release (1:12.1.3-1) 2017-08-12 08:55:35 -04:00
Kaleb S. KEITHLEY 7da9a82906 rebuild with librpm.so.7 2017-08-11 06:26:01 -04:00
Kaleb S. KEITHLEY 5867ad7fc7 Fix 32-bit alignment 2017-08-10 15:53:25 -04:00
Kaleb S. KEITHLEY bba7f9c4e3 New release (1:12.1.2-1) 2017-08-04 09:32:29 -04:00
Kaleb S. KEITHLEY e19d64c384 New release (1:12.1.2-1) 2017-08-04 09:09:45 -04:00
Kaleb S. KEITHLEY 4081aab3ef New release (1:12.1.2-1) 2017-08-04 07:45:39 -04:00
Kaleb S. KEITHLEY 6d9510539c New release (1:12.1.2-1) 2017-08-03 10:23:44 -04:00
Boris Ranto 13a18359e9 Fix ppc64 build 2017-08-02 08:39:48 +02:00
Kaleb S. KEITHLEY 56c346a5bc python34 and other nits
still no fix for ppc64
2017-08-01 11:00:02 -04:00
Kaleb S. KEITHLEY bfadd1c0d6 python34 and other nits
still no fix for ppc64
2017-08-01 10:59:35 -04:00
Florian Weimer 16715d6eb5 Revert "ppc64le disabled until bz #1475636 resolution"
This reverts commit b401956bd3.
2017-07-30 15:56:29 +02:00
Kaleb S. KEITHLEY b401956bd3 ppc64le disabled until bz #1475636 resolution 2017-07-28 13:34:55 -04:00
Kaleb S. KEITHLEY 673fccff02 12.1.1 w/ hacks for armv7hl: low mem, no java jni
WTIH_BABELTRACE -> WITH_BABELTRACE for all archs
still no fix for ppc64
2017-07-28 08:44:58 -04:00
Fedora Release Engineering 0cd5051482 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:39:47 +00:00
Kaleb S. KEITHLEY 54e205530e 12.1.1 w/ rocksdb patch (i686) 2017-07-25 15:16:16 -04:00
Kaleb S. KEITHLEY 467955622d 12.1.1 w/ rocksdb patch (i686), disable ceph_java (armv7hl) 2017-07-25 14:01:02 -04:00
Kaleb S. KEITHLEY 96279e9a98 New release (1:12.1.1-1) 2017-07-22 21:41:01 -04:00
Kaleb S. KEITHLEY 491a579461 New release (2:12.1.1-1) again 2017-07-22 19:25:07 -04:00
Kaleb S. KEITHLEY 44c0bd8d5c New release (2:12.1.1-1) 2017-07-22 18:50:07 -04:00
Kalev Lember 8d767138c1 Rebuilt for Boost 1.64 2017-07-21 09:50:41 +02:00
Petr Písař 6b37af2dd3 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 15:10:44 +02:00
Fedora Release Engineering 81bac1ccdf - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 21:04:29 +00:00
Kaleb S. KEITHLEY 8acb7f27af New release (1:10.2.7-1) 2017-04-17 10:46:05 -04:00
Boris Ranto ffa151c1c9 New release (1:10.2.5-2)
- revert to 10.2.5 for now
- include WorkQueue for librbd to avoid build errors
2017-02-09 00:08:38 +01:00
Boris Ranto f003c36523 Pack our own sources
Upstream sources are buggy, they point to a different commit in rocksdb.
2017-02-08 19:06:06 +01:00
Boris Ranto a11242cdd6 Fix Source location and extension 2017-02-07 22:32:26 +01:00
Boris Ranto 8efc832c79 Remove unnecessary patches 2017-02-07 22:27:35 +01:00
Boris Ranto 2288029bf6 New version (1:11.2.0-1)
- rebase to latest version
- sync up the spec file
2017-02-07 22:24:23 +01:00
Boris Ranto a2502bdf58 New version (1:10.2.5-1)
- hack: do not check for libxfs, assume it is present
2017-01-13 01:20:14 +01:00
Boris Ranto 7fc18b8c1c New version (1:10.2.4-2) This syncs up with the upstream 10.2.5 Doing it this way because of broken lookaside cache Fix the -devel obsoletes 2016-12-14 00:13:54 +01:00
Boris Ranto 824fa68a8c Do not apply patch manually, autosetup does it for us 2016-12-08 19:49:37 +01:00
Boris Ranto c342c970d9 New version (1:10.2.4-1)
- Disable erasure_codelib neon build
- Use newer -devel package format
- Sync up the spec file
2016-12-08 19:07:39 +01:00
Ken Dreyer 680c925719 librgw: add API version defines for librgw and rgw_file 2016-10-26 14:42:14 -06:00
Ken Dreyer ceab65be90 update patches style for rdopkg
The switch to %autosetup corresponds to upstream change
https://github.com/ceph/ceph/pull/9227
2016-10-26 14:41:14 -06:00
Boris Ranto fa9e04a7d1 New release (1:10.2.3-2)
- common: instantiate strict_si_cast<long> not
2016-09-29 16:14:58 +02:00
Boris Ranto 8d319bc7a9 New version (1:10.2.3-1)
- Disable erasure_codelib neon build
- Sync up spec file with upstream
2016-09-29 11:58:26 +02:00
Igor Gnatenko f3e716bd25 Rebuild for LevelDB 1.18
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-08-07 20:40:15 +02:00
Igor Gnatenko 6af5c6e496 drop old archives from sources
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-08-07 20:03:22 +02:00
Fedora Release Engineering 50ab9b56e2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 06:45:29 +00:00
Boris Ranto 20b0b2e68e New release (1:10.2.2-2)
- fix tcmalloc handling in spec file
2016-06-21 12:53:05 +02:00
Boris Ranto dadf49c482 New version (1:10.2.2-1)
- Disable erasure_codelib neon build
- Do not use -momit-leaf-frame-pointer flag
- Sync up spec file with upstream
2016-06-20 13:30:16 +02:00
Boris Ranto e5a890ade4 New version (1:10.2.1-1)
- Disable erasure_codelib neon build
- Do not use -momit-leaf-frame-pointer flag
- Sync up spec file with upstream
2016-05-16 15:38:59 +02:00
Dan Horák 49e681f424 valgrind not available on s390 2016-05-06 14:18:53 +02:00
Dan Horák a5a738d622 - fix build on s390(x) - gperftools/tcmalloc not available there 2016-05-06 14:01:23 +02:00
Boris Ranto 9ca188d404 Do not use -momit-leaf-frame-pointer flag 2016-04-22 15:31:35 +02:00
Boris Ranto bde7d230a8 Rebase to version 10.2.0
- Disable erasure_codelib neon build
- Sync up the spec file
2016-04-22 13:44:52 +02:00
Richard W.M. Jones 767c6bb311 Fixed the reference in previous commit to point to the correct bug. 2016-04-11 16:18:01 +01:00
Richard W.M. Jones b32301bd4a - Add workaround for XFS header brokenness. 2016-04-11 16:15:34 +01:00
Richard W.M. Jones 6d2e42e155 Fix large startup times of processes linking to -lrbd.
Backport upstream commit 1c2831a2, fixes RHBZ#1319483.
2016-04-11 15:57:58 +01:00
Dennis Gilmore 5e7cff58f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:33:09 +00:00
Jonathan Wakely 9206f82772 Rebuilt for Boost 1.60 2016-01-14 17:36:29 +00:00
Dan Horák 22d0a9bd96 - fix build on s390(x) - gperftools/tcmalloc not available there 2015-12-14 10:10:09 -05:00
Boris Ranto 2b0909dfd6 Disable libec_shec_neon.la build as well 2015-11-11 17:13:30 +01:00
Boris Ranto 68971661e7 Re-apply "disable neon build" patch 2015-11-11 15:26:26 +01:00
Boris Ranto bcc7f226bb Rebase to latest stable upstream version
Version 9.2.0 - infernalis
Use upstream spec file (there was plenty of systemd/selinux changes)
2015-11-10 17:50:29 +01:00
Boris Ranto 3d553afe27 Rebase to latest upstream version (0.94.5) 2015-10-27 16:01:42 +01:00
Boris Ranto 6bc9cadd59 Post-rebase fix-up
The init-radosgw.sysv file was renamed to init-radosgw file in 0.94.4.
2015-10-20 14:47:42 +02:00
Boris Ranto 8d2c0a023a Rebase to latest upstream version (0.94.4)
The rtdsc patch got merged upstream and is already present in the release
2015-10-20 12:10:16 +02:00
Jonathan Wakely 7e0cdd887f Rebuilt for Boost 1.59 2015-08-27 21:19:19 +01:00
Boris Ranto 4ac65e9e96 Fix file list after rebase
Resolves: rhbz#1257374
2015-08-27 15:24:46 +02:00
Boris Ranto ac5a29a8ad Rebase to latest upstream version (0.94.3)
Resolves: rhbz#1257374
2015-08-27 14:22:00 +02:00
Richard W.M. Jones 222abd2152 Fix build against boost 1.58 (http://tracker.ceph.com/issues/11576). 2015-07-31 14:56:49 +01:00
Dennis Gilmore bb85c64a3d - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 12:04:14 -05:00
David Tardon 09905ca683 rebuild for Boost 1.58 2015-07-22 18:15:06 +02:00
Boris Ranto b7119dde1d Rebase to latest upstream version (0.94.2)
Resolves: rhbz#1229924
2015-07-16 10:37:55 +02:00
Dennis Gilmore 9b5287b8d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 02:30:12 +00:00
Dan Horák 94d715c6db - fix build on s390(x) - no gperftools there 2015-06-08 17:43:13 +02:00
Boris Ranto c767eafe44 Disable lttng support
Resolves: rhbz#1223319
2015-05-21 11:03:50 +02:00
Boris Ranto 300509739c Fix arm linking issue
Resolves: rhbz#1222286
2015-05-18 20:34:11 +02:00
Boris Ranto bedf031a7d Fix arm compilation issues 2015-04-16 13:10:30 +02:00
Boris Ranto 2a379f1396 Rebase to latest upstream (0.94.1) and sync-up spec file 2015-04-14 17:09:59 +02:00
Ken Dreyer a6871cb0d5 add version numbers to Obsoletes
The ceph-devel and python-ceph packages were split out, but there were
no version numbers added to the Obsoletes during the split.

This means that we obsolete packages that are far newer than us. This
impacts packages coming from upstream's "gitbuilder" system (for
example), as well as any other upstream RPMs until this package split is
done upstream.

Add version numbers to the Obsoletes. I've chosen to use a
version+release number that's lower than what we currently ship in
Fedora (0.87-1), but newer than what we shipped in the last Fedora
update (0.80.6-1).
2015-04-01 09:04:15 -06:00
Boris Ranto 2a0aaf952c Fix several issues with spec file
- Perform a hardened build
- Use git-formatted patches
- Add patch for pthreads rwlock unlock problem
- Do not remove conf files on uninstall
- Remove the cleanup function, it is only necessary for f20 and f21
2015-03-04 16:13:36 +01:00
Boris Ranto 84aa853323 Rebase to 0.87.1 2015-02-25 11:33:57 +01:00
Ken Dreyer 37b2dd4d84 add upstream ticket link for Boost 1.57.0 patch
The Boost 1.57.0 patch has been sent upstream. Record a link to this
ticket in the comments of our spec file.
2015-01-29 09:30:47 -07:00
Petr Machata c130ff2a04 Include <boost/optional/optional_io.hpp> instead of <boost/optional.hpp>
Keep the old behavior in one case, where a std::map is printed, and
the corresponding operator<< isn't available.
2015-01-29 03:18:49 +01:00
Petr Machata c485e3a1fb Rebuild for boost 1.57.0 2015-01-27 03:29:25 +01:00
Boris Ranto d8048b573b Sync-up with upstream -- formatting issues 2014-11-12 14:59:35 +01:00
Boris Ranto 7ebc469b21 Fix the removed path (missing RPM_BUILD_ROOT) 2014-11-03 17:38:23 +01:00
Boris Ranto 3b0b0e04e8 Rebase to latest major version (firefly -> giant) 2014-11-03 16:31:09 +01:00
Boris Ranto 290a036741 Rebase to latest upstream version 2014-10-16 12:38:49 +02:00
Boris Ranto a4d87e63c6 Fix the librados-devel vs librados2-devel problem 2014-10-11 15:58:58 +02:00
Boris Ranto 628a5cfe1f Provide empty file list for python-ceph-compat and ceph-devel-compat 2014-10-10 16:42:20 +02:00
Boris Ranto 7da3554afd Rebase and split ceph-devel, python-ceph packages 2014-10-10 15:44:05 +02:00
Dan Horák 34495d4d5f - update Requires for s390(x) 2014-09-09 10:12:07 +02:00
Boris Ranto 273aebea8d Fix bz 1136811 (incorrect symlink on fedora) 2014-09-03 15:30:38 +02:00
Boris Ranto ac3de9eccb Fix bogus dates 2014-08-22 01:56:50 +02:00
Boris Ranto e46d0f152b Second attempt to fix selinux issue (bz 1118504) 2014-08-22 01:53:25 +02:00
Boris Ranto b3185457ec Revert "Modify configure flags to get rid of selinux-related permission denied when loading libraries (bz 1118504)"
This reverts commit 7f6844291d.

The reason is that the commit did not fix the issue.
2014-08-22 01:14:20 +02:00
Boris Ranto 7f6844291d Modify configure flags to get rid of selinux-related permission denied when loading libraries (bz 1118504) 2014-08-21 17:42:17 +02:00
Kalev Lember 25b47f32a9 Obsolete ceph-libcephfs
Correct the name of the obsoleted package. It used to be called
"ceph-libcephfs" and not "libcephfs".

Transaction check error:
file /usr/lib64/libcephfs.so.1.0.0 from install of
libcephfs1-1:0.80.5-5.fc21.x86_64 conflicts with file from package
ceph-libcephfs-0.81.0-6.fc21.x86_64
2014-08-16 23:38:39 +02:00
Boris Ranto e44806fede Various fixes:
- Do not require xfsprogs/xfsprogs-devel for el6
- Require gperftools-devel for non-ppc*/s390* architectures only
- Do not require junit -- no need to build libcephfs-test.jar
- Build without libxfs for el6
- Build without tcmalloc for ppc*/s390* architectures
- Location of mkcephfs must depend on a rhel release
- Use epoch in the Requires fields [1130700]
2014-08-16 16:00:20 +02:00
Boris Ranto 830e99f484 Use the proper version name in Obsoletes, the previous one did not obsolete all the packages that it should 2014-08-16 10:32:16 +02:00
Boris Ranto a236dbbbe2 Fix the date in changelog 2014-08-16 03:50:05 +02:00
Peter Robinson c81d313d7c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-15 23:54:45 +00:00
Boris Ranto 5311ad2942 Add the arm pthread hack 2014-08-16 01:11:30 +02:00
Boris Ranto 08b7207d61 Bump the Epoch, we need to keep the latest stable, not development, ceph version in fedora
- Use the upstream spec file with the ceph-libs split
- Add libs-compat subpackage
- Use fedora in rhel 7 checks
- Obsolete libcephfs
- Depend on redhat-lsb-core for the initscript
2014-08-15 23:07:34 +02:00
Kalev Lember d1845800ed Add obsoletes to keep the upgrade path working
https://bugzilla.redhat.com/show_bug.cgi?id=1118510
2014-08-13 20:27:19 +02:00
Kaleb S. KEITHLEY 9a1331d776 revert to old spec until after f21 branch 2014-07-07 08:13:40 -04:00
Kaleb S. KEITHLEY ed8d9af197 temporary exclude f21/armv7hl. N.B. it builds fine on f20/armv7hl. 2014-07-04 15:36:03 -04:00
Kaleb S. KEITHLEY 4be65c200b upstream ceph.spec file 2014-07-04 12:45:53 -04:00
Kaleb S. KEITHLEY 57cc7e9923 upstream ceph.spec file 2014-07-01 14:19:27 -04:00
Kaleb S. KEITHLEY 10fcd5ea45 upstream ceph.spec file 2014-07-01 13:47:44 -04:00
Dennis Gilmore e605c9c549 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 23:26:10 -05:00
Kaleb S. KEITHLEY 560f971731 el6 ppc64 likewise for tcmalloc, merge from origin/el6 2014-06-05 04:44:32 -04:00
Kaleb S. KEITHLEY cca983bdeb el6 ppc64 does not have gperftools, merge from origin/el6 2014-06-05 02:52:02 -04:00
Kaleb S. KEITHLEY 6c2f2c4e79 ceph-0.81.0 2014-06-05 02:17:45 -04:00
Peter Robinson 9c82455d7f gperftools now available on aarch64/ppc64 2014-06-04 14:02:57 +01:00
Petr Machata e579d551c9 Rebuild for boost 1.55.0 2014-05-23 12:31:44 +02:00
David Tardon aac817e15f rebuild for boost 1.55.0 2014-05-23 10:30:03 +02:00
Kaleb S. KEITHLEY c28233e26b build epel-6
- exclude %{_libdir}/ceph/erasure-code in base package
2014-05-14 10:52:10 -04:00
Kaleb S. KEITHLEY f082c040b2 Update to latest stable upstream release, BZ 1095201
- PIE, _hardened_build, BZ 955174
2014-05-13 16:00:51 -04:00
Ken Dreyer 4c912aebbb Move plugins from -devel into -libs package (#891993)
Thanks Michael Schwendt <mschwendt@gmail.com>.
2014-02-05 22:04:44 -07:00
Ken Dreyer b4b867b0c4 remove trailing whitespace 2014-01-29 15:10:47 -07:00
Ken Dreyer f07f612bc9 Merge branch 'master' into epel7 2014-01-29 15:10:09 -07:00
Ken Dreyer c523b37b4d Update to latest stable upstream release
- Use HTTPS for URLs
- Submit Automake 1.12 patch upstream
- Move unversioned shared libs from ceph-libs into ceph-devel
2014-01-13 09:45:08 -07:00
Peter Robinson a69f0258b3 build without tcmalloc on aarch64 (no gperftools) 2013-12-18 10:44:46 +00:00
Peter Robinson 975579a765 gperftools not currently available on aarch64 2013-11-30 17:30:20 +00:00
Dan Horák 8ee25c7ded Merge branch 'master' into f19 2013-10-07 12:09:49 +02:00
Dan Horák 52a2b9bf64 - fix build on non-x86_64 64-bit arches 2013-10-07 12:08:23 +02:00
Josef Bacik 77906caf26 - fix a sample.conf problem 2013-09-13 09:40:03 -04:00
Josef Bacik e11916a191 Merge branch 'master' into f19
Conflicts:
	ceph.spec
2013-09-11 16:12:42 -04:00
Josef Bacik 7d8598d9d5 - update to 0.67.3 2013-09-11 16:09:38 -04:00
Michael Schwendt f6f6a625d7 General cleanup for Duplicate Provides, but found lots of other issues
in the spec file:
- let base package include all its documentation files via %doc magic,
  so for Fedora 20 Unversioned Docdirs no files are included accidentally
- include the sample config files again (instead of just an empty docdir
  that has been added for #846735)
- don't include librbd.so.1 also in -devel package (#1003202)
- move one misplaced rados plugin from -devel into -libs package (#891993)
- include missing directories in -devel and -libs packages
- move librados-config into the -devel pkg where its manual page is, too
- add %_isa to subpackage dependencies
- don't use %defattr anymore
- add V=1 to make invocation for verbose build output
2013-09-11 14:15:50 +02:00
Peter Robinson 522d4bf6a9 re-enable tmalloc on arm now gperftools is fixed 2013-07-31 18:29:23 +01:00
Peter Robinson fc25307343 re-enable tmalloc on arm now gperftools is fixed 2013-07-31 17:03:16 +01:00
Josef Bacik 20d29cd716 - fix the sample.conf name 2013-07-30 11:21:03 -04:00
Josef Bacik b0e4352954 - apparently older versions of rpm need me to specify the files under the dir 2013-07-30 10:50:03 -04:00
Josef Bacik 9cd0433a2c - disable tmalloc on arm 2013-07-29 15:13:54 -04:00
Josef Bacik c0e66ef34e - update .gitignore and sources 2013-07-29 15:02:12 -04:00
Josef Bacik 7d1f840a1f - update to 0.61.7 2013-07-29 14:59:31 -04:00
Petr Machata 6bb58e5016 Rebuild for boost 1.54.0 2013-07-27 14:52:09 +02:00
Josef Bacik 15e2e4694f - actually add new patch 2013-03-29 16:45:14 -04:00
Josef Bacik 514a2a17d7 - Update to 0.56.4 2013-03-29 16:39:26 -04:00
Josef Bacik 5b135f1378 Merge branch 'master' into f18
Conflicts:
	ceph.spec
2013-02-21 16:41:35 -05:00
Josef Bacik 3991b7a14d - update to 0.56.3 2013-02-21 16:37:30 -05:00
Richard W.M. Jones ffa978b691 Rebuilt to try to fix boost dependency problem in Rawhide. 2013-02-11 20:51:34 +00:00
Josef Bacik f5c462a933 - updated to 0.53 2012-11-01 11:18:39 -04:00
Jonathan Dieter 0521dc9b41 Rebuild after buildroot was messed up
Signed-off-by: Jonathan Dieter <jdieter@lesbg.com>
2012-09-24 15:39:26 +03:00
Jonathan Dieter 9855df9139 Fix automake 1.12 error
Signed-off-by: Jonathan Dieter <jdieter@lesbg.com>
2012-09-24 09:22:21 +03:00
Jonathan Dieter ff794c7017 Use system leveldb instead of bundled library
Signed-off-by: Jonathan Dieter <jdieter@lesbg.com>
2012-09-24 09:00:37 +03:00
David Nalley 6449f95424 updating to 0.51 2012-09-09 13:41:08 -04:00
Dennis Gilmore 19726c103f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 13:47:55 -05:00
Josef Bacik d02143ac96 -fix some missing man pages and such 2012-05-10 09:56:19 -04:00
Josef Bacik 8f23225f59 - update to 0.46 2012-05-09 17:00:02 -04:00
Dan Horák ba92463cc7 fix detection of C++11 atomic header 2012-04-23 20:05:49 +02:00
Josef Bacik 50e073a68a - update to upstream 0.45 2012-04-12 16:02:46 -04:00
11 changed files with 2549 additions and 288 deletions
+2 -9
View File
@@ -1,9 +1,2 @@
ceph-0.20.tar.gz
/ceph-0.21.3.tar.gz
/ceph-0.25.1.tar.gz
/ceph-0.26.tar.gz
/ceph-0.31.tar.gz
/ceph-0.37.tar.gz
/ceph-0.39.tar.gz
/ceph-0.43.tar.bz2
/ceph-0.44.tar.bz2
ceph-*.tar.*
*.src.rpm
@@ -1,52 +0,0 @@
From d3bcac241f25f681a585c2115a79befe43dd7d6c Mon Sep 17 00:00:00 2001
From: Jim Schutt <jaschut@sandia.gov>
Date: Wed, 21 Mar 2012 10:09:09 -0600
Subject: [PATCH] Makefile: fix modules that cannot find pk11pub.h when
compiling with NSS on RHEL6
Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
---
src/Makefile.am | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index a6e6a95..80802bc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -48,7 +48,7 @@ if LINUX
ceph_osd_LDADD += -ldl
endif
bin_PROGRAMS += ceph-osd
-ceph_osd_CXXFLAGS = ${AM_CXXFLAGS} \
+ceph_osd_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS} \
-I$(top_srcdir)/src/leveldb/include
# mds
@@ -111,6 +111,7 @@ osdmaptool_LDADD = $(LIBGLOBAL_LDA)
bin_PROGRAMS += monmaptool crushtool osdmaptool
ceph_dencoder_SOURCES = test/encoding/ceph_dencoder.cc
+ceph_dencoder_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
ceph_dencoder_LDADD = $(LIBGLOBAL_LDA) libosd.la libmds.a libos.la libmon.la
bin_PROGRAMS += ceph-dencoder
@@ -1002,6 +1003,7 @@ libmon_la_SOURCES = \
mon/AuthMonitor.cc \
mon/Elector.cc \
mon/MonitorStore.cc
+libmon_la_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
libmon_la_LIBADD = libglobal.la
noinst_LTLIBRARIES += libmon.la
@@ -1070,6 +1072,7 @@ libosdc_la_SOURCES = \
osdc/ObjectCacher.cc \
osdc/Filer.cc \
osdc/Journaler.cc
+libosdc_la_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
libosdc_la_LIBADD = libcommon.la
noinst_LTLIBRARIES += libosdc.la
--
1.7.7.6
+13
View File
@@ -0,0 +1,13 @@
--- ceph-12.1.1.orig/src/rocksdb/util/murmurhash.cc 2017-04-27 01:13:46.000000000 +0100
+++ ceph-12.1.1.orig/src/rocksdb/util/murmurhash.cc 2017-07-25 11:37:28.910266684 +0100
@@ -113,8 +113,8 @@ unsigned int MurmurHash2 ( const void *
switch(len)
{
- case 3: h ^= data[2] << 16;
- case 2: h ^= data[1] << 8;
+ case 3: h ^= data[2] << 16; // fallthrough
+ case 2: h ^= data[1] << 8; // fallthrough
case 1: h ^= data[0];
h *= m;
};
+127
View File
@@ -0,0 +1,127 @@
From 2f0a7153460acc3f21462236f470ec3471fa2ee1 Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Mon, 31 Jul 2017 19:50:23 +0200
Subject: [PATCH] cmake: Support ppc64
The ppc64 support requires a couple of changes:
- adding the ppc64 support to cmake
- changing optimized crc32 code to compile on ppc64le only
- moving ifdef condition before crc32_align to avoid defined but not
used warning
Signed-off-by: Boris Ranto <branto@redhat.com>
---
cmake/modules/SIMDExt.cmake | 15 ++++++++++++++-
src/CMakeLists.txt | 4 +++-
src/arch/ppc.c | 8 ++++----
src/common/crc32c_ppc.c | 6 +++---
4 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/cmake/modules/SIMDExt.cmake b/cmake/modules/SIMDExt.cmake
index 5330835..c47667d 100644
--- a/cmake/modules/SIMDExt.cmake
+++ b/cmake/modules/SIMDExt.cmake
@@ -109,7 +109,20 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64")
endif(CMAKE_SYSTEM_PROCESSOR MATCHES "i686|amd64|x86_64|AMD64")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(powerpc|ppc)64le")
set(HAVE_PPC64LE 1)
- message(STATUS " we are ppc64le")
+ message(STATUS " we are ppc64")
+ CHECK_C_COMPILER_FLAG("-maltivec" HAS_ALTIVEC)
+ if(HAS_ALTIVEC)
+ message(STATUS " HAS_ALTIVEC yes")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -maltivec")
+ set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -maltivec")
+ endif()
+ CHECK_C_COMPILER_FLAG("-mcpu=power8" HAVE_POWER8)
+ if(HAVE_POWER8)
+ message(STATUS " HAVE_POWER8 yes")
+ endif()
+elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(power|ppc)64")
+ set(HAVE_PPC64 1)
+ message(STATUS " we are ppc64")
CHECK_C_COMPILER_FLAG("-maltivec" HAS_ALTIVEC)
if(HAS_ALTIVEC)
message(STATUS " HAS_ALTIVEC yes")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 66f0c14..38d1913 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -568,7 +568,9 @@ if(HAVE_INTEL)
endif(HAVE_GOOD_YASM_ELF64)
elseif(HAVE_POWER8)
list(APPEND libcommon_files
- common/crc32c_ppc.c
+ common/crc32c_ppc.c)
+elseif(HAVE_PPC64LE)
+ list(APPEND libcommon_files
common/crc32c_ppc_asm.S
common/crc32c_ppc_fast_zero_asm.S)
endif(HAVE_INTEL)
diff --git a/src/arch/ppc.c b/src/arch/ppc.c
index f21e2fe..11d3a49 100644
--- a/src/arch/ppc.c
+++ b/src/arch/ppc.c
@@ -14,10 +14,10 @@ int ceph_arch_ppc_crc32 = 0;
#include <stdio.h>
-#if __linux__ && __powerpc64__
+#ifdef HAVE_PPC64LE
#include <sys/auxv.h>
#include <asm/cputable.h>
-#endif /* __linux__ && __powerpc64__ */
+#endif /* HAVE_PPC64LE */
#ifndef PPC_FEATURE2_VEC_CRYPTO
#define PPC_FEATURE2_VEC_CRYPTO 0x02000000
@@ -31,9 +31,9 @@ int ceph_arch_ppc_probe(void)
{
ceph_arch_ppc_crc32 = 0;
-#if __linux__ && __powerpc64__
+#ifdef HAVE_PPC64LE
if (getauxval(AT_HWCAP2) & PPC_FEATURE2_VEC_CRYPTO) ceph_arch_ppc_crc32 = 1;
-#endif /* __linux__ && __powerpc64__ */
+#endif /* HAVE_PPC64LE */
return 0;
}
diff --git a/src/common/crc32c_ppc.c b/src/common/crc32c_ppc.c
index 43756e2..52fd1c4 100644
--- a/src/common/crc32c_ppc.c
+++ b/src/common/crc32c_ppc.c
@@ -20,6 +20,7 @@
#define VMX_ALIGN 16
#define VMX_ALIGN_MASK (VMX_ALIGN-1)
+#ifdef HAVE_PPC64LE
#ifdef REFLECT
static unsigned int crc32_align(unsigned int crc, unsigned char const *p,
unsigned long len)
@@ -38,7 +39,6 @@ static unsigned int crc32_align(unsigned int crc, unsigned char const *p,
}
#endif
-#ifdef HAVE_POWER8
static inline unsigned long polynomial_multiply(unsigned int a, unsigned int b) {
vector unsigned int va = {a, 0, 0, 0};
vector unsigned int vb = {b, 0, 0, 0};
@@ -134,7 +134,7 @@ uint32_t ceph_crc32c_ppc(uint32_t crc, unsigned char const *data, unsigned len)
return crc;
}
-#else /* HAVE_POWER8 */
+#else /* HAVE_PPC64LE */
/* This symbol has to exist on non-ppc architectures (and on legacy
* ppc systems using power7 or below) in order to compile properly
@@ -145,4 +145,4 @@ uint32_t ceph_crc32c_ppc(uint32_t crc, unsigned char const *data, unsigned len)
return 0;
}
-#endif /* HAVE_POWER8 */
+#endif /* HAVE_PPC64LE */
--
2.9.4
@@ -0,0 +1,31 @@
From 74a754690736f6608b0d4d9c807df0bd777a129d Mon Sep 17 00:00:00 2001
From: Boris Ranto <branto@redhat.com>
Date: Fri, 8 Dec 2017 00:21:38 +0100
Subject: [PATCH] librbd: Conditionally import TrimRequest.cc
We include TrimRequest.cc in librbd tests at two places:
- operation/test_mock_TrimRequest.cc
- operation/test_mock_ResizeRequest.cc
That causes linking errors when doing the builds because some of the
structures are defined twice.
Signed-off-by: Boris Ranto <branto@redhat.com>
---
src/librbd/operation/TrimRequest.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/librbd/operation/TrimRequest.cc b/src/librbd/operation/TrimRequest.cc
index 28f2deb..929ca51 100644
--- a/src/librbd/operation/TrimRequest.cc
+++ b/src/librbd/operation/TrimRequest.cc
@@ -362,4 +362,6 @@ void TrimRequest<I>::send_finish(int r) {
} // namespace operation
} // namespace librbd
+#ifndef TEST_F
template class librbd::operation::TrimRequest<librbd::ImageCtx>;
+#endif
--
2.9.5
+155
View File
@@ -0,0 +1,155 @@
--- ceph-12.2.3/src/rocksdb/table/block.h.orig 2018-02-22 07:49:38.044899631 -0500
+++ ceph-12.2.3/src/rocksdb/table/block.h 2018-02-22 07:58:55.855899631 -0500
@@ -65,7 +65,8 @@
// Create bitmap and set all the bits to 0
bitmap_ = new std::atomic<uint32_t>[bitmap_size];
- memset(bitmap_, 0, bitmap_size * kBytesPersEntry);
+ // memset(bitmap_, 0, bitmap_size * kBytesPersEntry);
+ { unsigned i = 0; for (; i < bitmap_size;) bitmap_[i++] = 0; }
RecordTick(GetStatistics(), READ_AMP_TOTAL_READ_BYTES,
num_bits_needed << bytes_per_bit_pow_);
--- ceph-12.2.3/src/rocksdb/db/c.cc.orig 2018-02-22 08:14:56.033899631 -0500
+++ ceph-12.2.3/src/rocksdb/db/c.cc 2018-02-22 10:06:39.759899631 -0500
@@ -1322,11 +1322,6 @@
b->rep.PutLogData(Slice(blob, len));
}
-void rocksdb_writebatch_iterate(
- rocksdb_writebatch_t* b,
- void* state,
- void (*put)(void*, const char* k, size_t klen, const char* v, size_t vlen),
- void (*deleted)(void*, const char* k, size_t klen)) {
class H : public WriteBatch::Handler {
public:
void* state_;
@@ -1339,6 +1334,12 @@
(*deleted_)(state_, key.data(), key.size());
}
};
+
+void rocksdb_writebatch_iterate(
+ rocksdb_writebatch_t* b,
+ void* state,
+ void (*put)(void*, const char* k, size_t klen, const char* v, size_t vlen),
+ void (*deleted)(void*, const char* k, size_t klen)) {
H handler;
handler.state_ = state;
handler.put_ = put;
@@ -1579,18 +1580,6 @@
void* state,
void (*put)(void*, const char* k, size_t klen, const char* v, size_t vlen),
void (*deleted)(void*, const char* k, size_t klen)) {
- class H : public WriteBatch::Handler {
- public:
- void* state_;
- void (*put_)(void*, const char* k, size_t klen, const char* v, size_t vlen);
- void (*deleted_)(void*, const char* k, size_t klen);
- virtual void Put(const Slice& key, const Slice& value) override {
- (*put_)(state_, key.data(), key.size(), value.data(), value.size());
- }
- virtual void Delete(const Slice& key) override {
- (*deleted_)(state_, key.data(), key.size());
- }
- };
H handler;
handler.state_ = state;
handler.put_ = put;
@@ -2532,13 +2521,9 @@
delete filter;
}
-rocksdb_filterpolicy_t* rocksdb_filterpolicy_create_bloom_format(int bits_per_key, bool original_format) {
- // Make a rocksdb_filterpolicy_t, but override all of its methods so
- // they delegate to a NewBloomFilterPolicy() instead of user
- // supplied C functions.
- struct Wrapper : public rocksdb_filterpolicy_t {
+ struct WrapperFP : public rocksdb_filterpolicy_t {
const FilterPolicy* rep_;
- ~Wrapper() { delete rep_; }
+ ~WrapperFP() { delete rep_; }
const char* Name() const override { return rep_->Name(); }
void CreateFilter(const Slice* keys, int n,
std::string* dst) const override {
@@ -2549,11 +2534,16 @@
}
static void DoNothing(void*) { }
};
- Wrapper* wrapper = new Wrapper;
+
+rocksdb_filterpolicy_t* rocksdb_filterpolicy_create_bloom_format(int bits_per_key, bool original_format) {
+ // Make a rocksdb_filterpolicy_t, but override all of its methods so
+ // they delegate to a NewBloomFilterPolicy() instead of user
+ // supplied C functions.
+ WrapperFP* wrapper = new WrapperFP;
wrapper->rep_ = NewBloomFilterPolicy(bits_per_key, original_format);
wrapper->state_ = nullptr;
wrapper->delete_filter_ = nullptr;
- wrapper->destructor_ = &Wrapper::DoNothing;
+ wrapper->destructor_ = &WrapperFP::DoNothing;
return wrapper;
}
@@ -2889,10 +2879,9 @@
delete st;
}
-rocksdb_slicetransform_t* rocksdb_slicetransform_create_fixed_prefix(size_t prefixLen) {
- struct Wrapper : public rocksdb_slicetransform_t {
+ struct WrapperST : public rocksdb_slicetransform_t {
const SliceTransform* rep_;
- ~Wrapper() { delete rep_; }
+ ~WrapperST() { delete rep_; }
const char* Name() const override { return rep_->Name(); }
Slice Transform(const Slice& src) const override {
return rep_->Transform(src);
@@ -2903,31 +2892,20 @@
bool InRange(const Slice& src) const override { return rep_->InRange(src); }
static void DoNothing(void*) { }
};
- Wrapper* wrapper = new Wrapper;
+
+rocksdb_slicetransform_t* rocksdb_slicetransform_create_fixed_prefix(size_t prefixLen) {
+ WrapperST* wrapper = new WrapperST;
wrapper->rep_ = rocksdb::NewFixedPrefixTransform(prefixLen);
wrapper->state_ = nullptr;
- wrapper->destructor_ = &Wrapper::DoNothing;
+ wrapper->destructor_ = &WrapperST::DoNothing;
return wrapper;
}
rocksdb_slicetransform_t* rocksdb_slicetransform_create_noop() {
- struct Wrapper : public rocksdb_slicetransform_t {
- const SliceTransform* rep_;
- ~Wrapper() { delete rep_; }
- const char* Name() const override { return rep_->Name(); }
- Slice Transform(const Slice& src) const override {
- return rep_->Transform(src);
- }
- bool InDomain(const Slice& src) const override {
- return rep_->InDomain(src);
- }
- bool InRange(const Slice& src) const override { return rep_->InRange(src); }
- static void DoNothing(void*) { }
- };
- Wrapper* wrapper = new Wrapper;
+ WrapperST* wrapper = new WrapperST;
wrapper->rep_ = rocksdb::NewNoopTransform();
wrapper->state_ = nullptr;
- wrapper->destructor_ = &Wrapper::DoNothing;
+ wrapper->destructor_ = &WrapperST::DoNothing;
return wrapper;
}
--- ceph-12.2.3/src/rocksdb/memtable/inlineskiplist.h.orig 2018-02-22 10:34:06.918899631 -0500
+++ ceph-12.2.3/src/rocksdb/memtable/inlineskiplist.h 2018-02-22 10:34:44.145899631 -0500
@@ -279,7 +279,7 @@
// next_[0]. This is used for passing data from AllocateKey to Insert.
void StashHeight(const int height) {
assert(sizeof(int) <= sizeof(next_[0]));
- memcpy(&next_[0], &height, sizeof(int));
+ memcpy(static_cast<void*>(&next_[0]), &height, sizeof(int));
}
// Retrieves the value passed to StashHeight. Undefined after a call
+24
View File
@@ -0,0 +1,24 @@
--- 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) {
-18
View File
@@ -1,18 +0,0 @@
diff -up ceph-0.41/src/init-ceph.in.init ceph-0.41/src/init-ceph.in
--- ceph-0.41/src/init-ceph.in.init 2012-01-17 15:33:20.000000000 -0500
+++ ceph-0.41/src/init-ceph.in 2012-02-16 12:48:50.887279921 -0500
@@ -1,11 +1,11 @@
#!/bin/sh
# Start/stop ceph daemons
-# chkconfig: 2345 60 80
+# chkconfig: - 60 80
### BEGIN INIT INFO
# Provides: ceph
-# Default-Start: 2 3 5
-# Default-Stop: 0 1 6
+# Default-Start:
+# Default-Stop:
# Required-Start: $remote_fs $named $network $time
# Required-Stop: $remote_fs $named $network $time
# Short-Description: Start Ceph distributed file system daemons at boot time
-11
View File
@@ -1,11 +0,0 @@
--- ./src/logrotate.conf.new 2012-01-11 18:23:10.597593501 -0500
+++ ./src/logrotate.conf 2012-01-11 18:23:26.808390838 -0500
@@ -4,7 +4,7 @@
compress
sharedscripts
postrotate
- invoke-rc.d ceph reload >/dev/null || service ceph reload >/dev/null
+ service ceph reload >/dev/null 2>/dev/null || true
endscript
missingok
}
+2196 -197
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
17a09359e049f9c4ae98eab7c9bd876c ceph-0.44.tar.bz2
SHA512 (ceph-12.2.12.tar.gz) = e694c9a8c1f9836c08fb74b54423bdc16d4900252e34643c56cf1a615d4dacddfb13df06a6a9f68bb9d438f5f07069ed358f9fa4b5a362640a3046f9c7722dcc