ceph.git
4 years agoMerge version 14.2.20-2+rpi1 and 14.2.21-1 to produce 14.2.21-1+rpi1 bullseye-staging archive/raspbian/14.2.21-1+rpi1 raspbian/14.2.21-1+rpi1
Raspbian automatic forward porter [Fri, 4 Jun 2021 01:22:26 +0000 (02:22 +0100)]
Merge version 14.2.20-2+rpi1 and 14.2.21-1 to produce 14.2.21-1+rpi1

4 years agoMerge ceph (14.2.21-1) import into refs/heads/workingbranch
Thomas Goirand [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Merge ceph (14.2.21-1) import into refs/heads/workingbranch

4 years agoallow BGP-to-the-host style binding
Ceph Packaging Team [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
allow BGP-to-the-host style binding

Forwarded: no
Last-Update: 2021-04-21

Gbp-Pq: Name allow-bgp-to-host.patch

4 years agoFix systemd ceph-osd.target
Thomas Goirand [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Fix systemd ceph-osd.target

Forwarded: no
Last-Update: 2021-01-28

This helps when rebooting.

Gbp-Pq: Name fix-ceph-osd-systemd-target.patch

4 years agoAnother cmakelists fix
Thomas Goirand [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Another cmakelists fix

Forwarded: no
Last-Update: 2021-01-08

This fixes the last Boost 1.74 compatibility problems.

Gbp-Pq: Name another-cmakelists-fix.patch

4 years agocmake: add 1.74 to known versions
Kefu Chai [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
cmake: add 1.74 to known versions

Bug-Debian: https://bugs.debian.org/977243
Origin: upstream, https://github.com/ceph/ceph/commit/b6a94da6149e50bdd43752919d7c01b04c59f79e.patch
Last-Update: 2020-12-13

Gbp-Pq: Name cmake_add_1.74_to_known_versions.patch

4 years agocmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for
Kefu Chai [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
cmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for

Signed-off-by: Kefu Chai <kchai@redhat.com>
Origin: upstream, https://github.com/ceph/ceph/commit/3d708219092d0e89a1434c30ffc8a4999f062cc0.patch
Bug-Debian: https://bugs.debian.org/977243
Last-Update: 2021-03-24

Boost.Asio users

see also
https://www.boost.org/doc/libs/1_74_0/doc/html/boost_asio/std_executors.html#boost_asio.std_executors.polymorphic_i_o_executor

we could use `asio::any_io_executor` later on though for better
performance.

also, define CMP0093, so FindBoost reports Boost_VERSION in x.y.z
format. it is simpler to use `VERSION_GREATER_EQUAL` to compare its
version with 1.74 instead of its C macro version ("107000").

Gbp-Pq: Name cmake_define_BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT_for_Boost.Asio_users.patch

4 years agoMake Ceph Python 3.9 aware
Thomas Goirand [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Make Ceph Python 3.9 aware

Forwarded: no
Last-Update: 2020-11-28

Add versions of interpreters Ceph didn't know about.

Gbp-Pq: Name make-ceph-python-3.9-aware.patch

4 years agomds-purgequeue-use_uint64_t
Ceph Packaging Team [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
mds-purgequeue-use_uint64_t

===================================================================

Gbp-Pq: Name mds-purgequeue-use_uint64_t.patch

4 years agoLink with -pthread instead of -lpthread to fix FTBFS on riscv64
Ceph Packaging Team [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Link with -pthread instead of -lpthread to fix FTBFS on riscv64

Forwarded: no
Last-Update: 2020-03-01

Gbp-Pq: Name riscv64-link-pthread.patch

4 years agoadd-option-to-disable-ceph-dencoder
Ceph Packaging Team [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
add-option-to-disable-ceph-dencoder

===================================================================

Gbp-Pq: Name add-option-to-disable-ceph-dencoder.patch

4 years agofix-bash-completion-location
Ceph Packaging Team [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
fix-bash-completion-location

Gbp-Pq: Name fix-bash-completion-location

4 years agodebian-armel-armhf-buildflags
Ceph Packaging Team [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
debian-armel-armhf-buildflags

Gbp-Pq: Name debian-armel-armhf-buildflags.patch

4 years ago[PATCH] os/bluestore/BlueFS: use uint64_t for `len`
Kefu Chai [Fri, 28 Jun 2019 03:35:54 +0000 (11:35 +0800)]
[PATCH] os/bluestore/BlueFS: use uint64_t for `len`

change the type of parameter `len` of `BlueFS::_read_random()` from
`size_t` to `uint64_t`.

i think the type of `size_t` comes from
`rocksdb::RandomAccessFile::Read(uint64_t offset, size_t n,
rocksdb::Slice* result, char* scratch)`. and when we implement this
method, we continued using `n`'s type. but, we are using it with
`std::min()`, for instance, where the template parameter type deduction
fails if the lhs and rhs parameters' types are different. so probaly the
better solution is to use `uint64_t` directly to avoid the the cast and
specializing the template.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Gbp-Pq: Name bluefs-use-uint64_t-for-len.patch

4 years agoAdds max_connections to test display.
Jesse Williamson [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Adds max_connections to test display.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_test.patch

4 years agoMakes SOMAXCONN user-configurable.
Jesse Williamson [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Makes SOMAXCONN user-configurable.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/febab7dc38c9671577603425c54c20f841e27f97
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable.patch

4 years agoAdds max_connections to reference configuration.
Jesse Williamson [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Adds max_connections to reference configuration.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_conf.patch

4 years agoAvoid use of size_t when necessary
James Page james.page@ubuntu.com, Bernd Zeimetz [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Avoid use of size_t when necessary

Forwarded: no

On 32 bit architectures size_t is not a 64 bit type, which
causes comparison mismatch failures during compilation.

Gbp-Pq: Name 32bit-avoid-size_t.patch

4 years agoAvoid overloading on 32 bit architectures
James Page james.page@ubuntu.com, Bernd Zeimetz [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Avoid overloading on 32 bit architectures

Forwarded: no

unsigned and size_t are equivalent on 32 bit architectures,
so only define the size_t based overload of advance on 64
bit architectures.
https://wiki.debian.org/ArchitectureSpecificsMemo

Gbp-Pq: Name 32bit-avoid-overloading.patch

4 years agodisable-crypto
Ceph Packaging Team [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
disable-crypto

===================================================================

Gbp-Pq: Name disable-crypto.patch

4 years agouse --release 7 instead of -source/-target
Tiago Stürmer Daitx [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch

4 years agoceph (14.2.21-1) unstable; urgency=high
Thomas Goirand [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
ceph (14.2.21-1) unstable; urgency=high

  * New upstream release, resolving these:
    - CVE-2021-3509: Cross Site Scripting via token Cookie (Closes: #988888).
    - CVE-2021-3524: injection of HTTP headers via a CORS ExposeHeader tag in
      the Ceph Storage RadosGW (Closes: #988889).
    - CVE-2021-3531: RadosGW denial of service (crash) (Closes: #988890).

[dgit import unpatched ceph 14.2.21-1]

4 years agoImport ceph_14.2.21.orig.tar.gz
Thomas Goirand [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Import ceph_14.2.21.orig.tar.gz

[dgit import orig ceph_14.2.21.orig.tar.gz]

4 years agoImport ceph_14.2.21-1.debian.tar.xz
Thomas Goirand [Thu, 27 May 2021 10:04:21 +0000 (11:04 +0100)]
Import ceph_14.2.21-1.debian.tar.xz

[dgit import tarball ceph 14.2.21-1 ceph_14.2.21-1.debian.tar.xz]

4 years agoMerge version 14.2.16-2+rpi1 and 14.2.20-2 to produce 14.2.20-2+rpi1 archive/raspbian/14.2.20-2+rpi1 raspbian/14.2.20-2+rpi1
Raspbian automatic forward porter [Tue, 11 May 2021 15:04:11 +0000 (16:04 +0100)]
Merge version 14.2.16-2+rpi1 and 14.2.20-2 to produce 14.2.20-2+rpi1

4 years agoMerge ceph (14.2.20-2) import into refs/heads/workingbranch
Thomas Goirand [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Merge ceph (14.2.20-2) import into refs/heads/workingbranch

4 years agoallow BGP-to-the-host style binding
Ceph Packaging Team [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
allow BGP-to-the-host style binding

Forwarded: no
Last-Update: 2021-04-21

Gbp-Pq: Name allow-bgp-to-host.patch

4 years agoFix systemd ceph-osd.target
Thomas Goirand [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Fix systemd ceph-osd.target

Forwarded: no
Last-Update: 2021-01-28

This helps when rebooting.

Gbp-Pq: Name fix-ceph-osd-systemd-target.patch

4 years agoAnother cmakelists fix
Thomas Goirand [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Another cmakelists fix

Forwarded: no
Last-Update: 2021-01-08

This fixes the last Boost 1.74 compatibility problems.

Gbp-Pq: Name another-cmakelists-fix.patch

4 years agocmake: add 1.74 to known versions
Kefu Chai [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
cmake: add 1.74 to known versions

Bug-Debian: https://bugs.debian.org/977243
Origin: upstream, https://github.com/ceph/ceph/commit/b6a94da6149e50bdd43752919d7c01b04c59f79e.patch
Last-Update: 2020-12-13

Gbp-Pq: Name cmake_add_1.74_to_known_versions.patch

4 years agocmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for
Kefu Chai [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
cmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for

Signed-off-by: Kefu Chai <kchai@redhat.com>
Origin: upstream, https://github.com/ceph/ceph/commit/3d708219092d0e89a1434c30ffc8a4999f062cc0.patch
Bug-Debian: https://bugs.debian.org/977243
Last-Update: 2021-03-24

Boost.Asio users

see also
https://www.boost.org/doc/libs/1_74_0/doc/html/boost_asio/std_executors.html#boost_asio.std_executors.polymorphic_i_o_executor

we could use `asio::any_io_executor` later on though for better
performance.

also, define CMP0093, so FindBoost reports Boost_VERSION in x.y.z
format. it is simpler to use `VERSION_GREATER_EQUAL` to compare its
version with 1.74 instead of its C macro version ("107000").

Gbp-Pq: Name cmake_define_BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT_for_Boost.Asio_users.patch

4 years agoMake Ceph Python 3.9 aware
Thomas Goirand [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Make Ceph Python 3.9 aware

Forwarded: no
Last-Update: 2020-11-28

Add versions of interpreters Ceph didn't know about.

Gbp-Pq: Name make-ceph-python-3.9-aware.patch

4 years agomds-purgequeue-use_uint64_t
Ceph Packaging Team [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
mds-purgequeue-use_uint64_t

===================================================================

Gbp-Pq: Name mds-purgequeue-use_uint64_t.patch

4 years agoLink with -pthread instead of -lpthread to fix FTBFS on riscv64
Ceph Packaging Team [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Link with -pthread instead of -lpthread to fix FTBFS on riscv64

Forwarded: no
Last-Update: 2020-03-01

Gbp-Pq: Name riscv64-link-pthread.patch

4 years agoadd-option-to-disable-ceph-dencoder
Ceph Packaging Team [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
add-option-to-disable-ceph-dencoder

===================================================================

Gbp-Pq: Name add-option-to-disable-ceph-dencoder.patch

4 years agofix-bash-completion-location
Ceph Packaging Team [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
fix-bash-completion-location

Gbp-Pq: Name fix-bash-completion-location

4 years agodebian-armel-armhf-buildflags
Ceph Packaging Team [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
debian-armel-armhf-buildflags

Gbp-Pq: Name debian-armel-armhf-buildflags.patch

4 years ago[PATCH] os/bluestore/BlueFS: use uint64_t for `len`
Kefu Chai [Fri, 28 Jun 2019 03:35:54 +0000 (11:35 +0800)]
[PATCH] os/bluestore/BlueFS: use uint64_t for `len`

change the type of parameter `len` of `BlueFS::_read_random()` from
`size_t` to `uint64_t`.

i think the type of `size_t` comes from
`rocksdb::RandomAccessFile::Read(uint64_t offset, size_t n,
rocksdb::Slice* result, char* scratch)`. and when we implement this
method, we continued using `n`'s type. but, we are using it with
`std::min()`, for instance, where the template parameter type deduction
fails if the lhs and rhs parameters' types are different. so probaly the
better solution is to use `uint64_t` directly to avoid the the cast and
specializing the template.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Gbp-Pq: Name bluefs-use-uint64_t-for-len.patch

4 years agoAdds max_connections to test display.
Jesse Williamson [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Adds max_connections to test display.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_test.patch

4 years agoMakes SOMAXCONN user-configurable.
Jesse Williamson [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Makes SOMAXCONN user-configurable.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/febab7dc38c9671577603425c54c20f841e27f97
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable.patch

4 years agoAdds max_connections to reference configuration.
Jesse Williamson [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Adds max_connections to reference configuration.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_conf.patch

4 years agoAvoid use of size_t when necessary
James Page james.page@ubuntu.com, Bernd Zeimetz [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Avoid use of size_t when necessary

Forwarded: no

On 32 bit architectures size_t is not a 64 bit type, which
causes comparison mismatch failures during compilation.

Gbp-Pq: Name 32bit-avoid-size_t.patch

4 years agoAvoid overloading on 32 bit architectures
James Page james.page@ubuntu.com, Bernd Zeimetz [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Avoid overloading on 32 bit architectures

Forwarded: no

unsigned and size_t are equivalent on 32 bit architectures,
so only define the size_t based overload of advance on 64
bit architectures.
https://wiki.debian.org/ArchitectureSpecificsMemo

Gbp-Pq: Name 32bit-avoid-overloading.patch

4 years agodisable-crypto
Ceph Packaging Team [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
disable-crypto

===================================================================

Gbp-Pq: Name disable-crypto.patch

4 years agouse --release 7 instead of -source/-target
Tiago Stürmer Daitx [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch

4 years agoceph (14.2.20-2) unstable; urgency=medium
Thomas Goirand [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
ceph (14.2.20-2) unstable; urgency=medium

  * Add allow-bgp-to-host.patch.

[dgit import unpatched ceph 14.2.20-2]

4 years agoImport ceph_14.2.20-2.debian.tar.xz
Thomas Goirand [Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)]
Import ceph_14.2.20-2.debian.tar.xz

[dgit import tarball ceph 14.2.20-2 ceph_14.2.20-2.debian.tar.xz]

4 years agoImport ceph_14.2.20.orig.tar.gz
Thomas Goirand [Tue, 20 Apr 2021 11:00:13 +0000 (12:00 +0100)]
Import ceph_14.2.20.orig.tar.gz

[dgit import orig ceph_14.2.20.orig.tar.gz]

4 years agoMerge version 14.2.16-1+rpi1 and 14.2.16-2 to produce 14.2.16-2+rpi1 archive/raspbian/14.2.16-2+rpi1 raspbian/14.2.16-2+rpi1
Raspbian automatic forward porter [Fri, 5 Feb 2021 12:08:49 +0000 (12:08 +0000)]
Merge version 14.2.16-1+rpi1 and 14.2.16-2 to produce 14.2.16-2+rpi1

4 years agoMerge ceph (14.2.16-2) import into refs/heads/workingbranch
Thomas Goirand [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Merge ceph (14.2.16-2) import into refs/heads/workingbranch

4 years agoFix systemd ceph-osd.target
Thomas Goirand [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Fix systemd ceph-osd.target

Forwarded: no
Last-Update: 2021-01-28

This helps when rebooting.

Gbp-Pq: Name fix-ceph-osd-systemd-target.patch

4 years agoAllow binding on lo
Thomas Goirand [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Allow binding on lo

Forwarded: https://github.com/ceph/ceph/pull/38925
Last-Update: 2021-01-15

Commmit 5cf0fa8, solves the issue that
the osd can't restart after seting a virtual local loopback IP. However,
this commit also prevents a bgp-to-the-host over unumbered Ipv6
local-link is setup, where OSD typically are bound to the lo interface.

To solve this, this single char patch simply checks against "lo:" to
match only virtual interfaces instead of anything that starts with "lo".

Gbp-Pq: Name allow-binding-on-lo.patch

4 years agoAnother cmakelists fix
Thomas Goirand [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Another cmakelists fix

Forwarded: no
Last-Update: 2021-01-08

This fixes the last Boost 1.74 compatibility problems.

Gbp-Pq: Name another-cmakelists-fix.patch

4 years agocmake: add 1.74 to known versions
Kefu Chai [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
cmake: add 1.74 to known versions

Bug-Debian: https://bugs.debian.org/977243
Origin: upstream, https://github.com/ceph/ceph/commit/b6a94da6149e50bdd43752919d7c01b04c59f79e.patch
Last-Update: 2020-12-13

Gbp-Pq: Name cmake_add_1.74_to_known_versions.patch

4 years agocmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for
Kefu Chai [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
cmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for

Signed-off-by: Kefu Chai <kchai@redhat.com>
Origin: upstream, https://github.com/ceph/ceph/commit/3d708219092d0e89a1434c30ffc8a4999f062cc0.patch
Bug-Debian: https://bugs.debian.org/977243
Last-Update: 2020-12-13

Boost.Asio users

see also
https://www.boost.org/doc/libs/1_74_0/doc/html/boost_asio/std_executors.html#boost_asio.std_executors.polymorphic_i_o_executor

we could use `asio::any_io_executor` later on though for better
performance.

also, define CMP0093, so FindBoost reports Boost_VERSION in x.y.z
format. it is simpler to use `VERSION_GREATER_EQUAL` to compare its
version with 1.74 instead of its C macro version ("107000").

Gbp-Pq: Name cmake_define_BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT_for_Boost.Asio_users.patch

4 years agoMake Ceph Python 3.9 aware
Thomas Goirand [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Make Ceph Python 3.9 aware

Forwarded: no
Last-Update: 2020-11-28

Add versions of interpreters Ceph didn't know about.

Gbp-Pq: Name make-ceph-python-3.9-aware.patch

4 years agomds-purgequeue-use_uint64_t
Ceph Packaging Team [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
mds-purgequeue-use_uint64_t

===================================================================

Gbp-Pq: Name mds-purgequeue-use_uint64_t.patch

4 years agoLink with -pthread instead of -lpthread to fix FTBFS on riscv64
Ceph Packaging Team [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Link with -pthread instead of -lpthread to fix FTBFS on riscv64

Forwarded: no
Last-Update: 2020-03-01

Gbp-Pq: Name riscv64-link-pthread.patch

4 years agoadd-option-to-disable-ceph-dencoder
Ceph Packaging Team [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
add-option-to-disable-ceph-dencoder

===================================================================

Gbp-Pq: Name add-option-to-disable-ceph-dencoder.patch

4 years agofix-bash-completion-location
Ceph Packaging Team [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
fix-bash-completion-location

Gbp-Pq: Name fix-bash-completion-location

4 years agodebian-armel-armhf-buildflags
Ceph Packaging Team [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
debian-armel-armhf-buildflags

Gbp-Pq: Name debian-armel-armhf-buildflags.patch

4 years ago[PATCH] os/bluestore/BlueFS: use uint64_t for `len`
Kefu Chai [Fri, 28 Jun 2019 03:35:54 +0000 (11:35 +0800)]
[PATCH] os/bluestore/BlueFS: use uint64_t for `len`

change the type of parameter `len` of `BlueFS::_read_random()` from
`size_t` to `uint64_t`.

i think the type of `size_t` comes from
`rocksdb::RandomAccessFile::Read(uint64_t offset, size_t n,
rocksdb::Slice* result, char* scratch)`. and when we implement this
method, we continued using `n`'s type. but, we are using it with
`std::min()`, for instance, where the template parameter type deduction
fails if the lhs and rhs parameters' types are different. so probaly the
better solution is to use `uint64_t` directly to avoid the the cast and
specializing the template.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Gbp-Pq: Name bluefs-use-uint64_t-for-len.patch

4 years agoAdds max_connections to test display.
Jesse Williamson [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Adds max_connections to test display.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_test.patch

4 years agoMakes SOMAXCONN user-configurable.
Jesse Williamson [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Makes SOMAXCONN user-configurable.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/febab7dc38c9671577603425c54c20f841e27f97
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable.patch

4 years agoAdds max_connections to reference configuration.
Jesse Williamson [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Adds max_connections to reference configuration.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_conf.patch

4 years agoAvoid use of size_t when necessary
James Page james.page@ubuntu.com, Bernd Zeimetz [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Avoid use of size_t when necessary

Forwarded: no

On 32 bit architectures size_t is not a 64 bit type, which
causes comparison mismatch failures during compilation.

Gbp-Pq: Name 32bit-avoid-size_t.patch

4 years agoAvoid overloading on 32 bit architectures
James Page james.page@ubuntu.com, Bernd Zeimetz [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Avoid overloading on 32 bit architectures

Forwarded: no

unsigned and size_t are equivalent on 32 bit architectures,
so only define the size_t based overload of advance on 64
bit architectures.
https://wiki.debian.org/ArchitectureSpecificsMemo

Gbp-Pq: Name 32bit-avoid-overloading.patch

4 years agodisable-crypto
Ceph Packaging Team [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
disable-crypto

===================================================================

Gbp-Pq: Name disable-crypto.patch

4 years agouse --release 7 instead of -source/-target
Tiago Stürmer Daitx [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch

4 years agoceph (14.2.16-2) unstable; urgency=medium
Thomas Goirand [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
ceph (14.2.16-2) unstable; urgency=medium

  * Add fix-ceph-osd-systemd-target.patch.

[dgit import unpatched ceph 14.2.16-2]

4 years agoImport ceph_14.2.16-2.debian.tar.xz
Thomas Goirand [Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)]
Import ceph_14.2.16-2.debian.tar.xz

[dgit import tarball ceph 14.2.16-2 ceph_14.2.16-2.debian.tar.xz]

4 years agoMerge version 14.2.15-4+rpi1 and 14.2.16-1 to produce 14.2.16-1+rpi1 archive/raspbian/14.2.16-1+rpi1 raspbian/14.2.16-1+rpi1
Raspbian automatic forward porter [Wed, 20 Jan 2021 00:37:28 +0000 (00:37 +0000)]
Merge version 14.2.15-4+rpi1 and 14.2.16-1 to produce 14.2.16-1+rpi1

4 years agoMerge ceph (14.2.16-1) import into refs/heads/workingbranch
Thomas Goirand [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Merge ceph (14.2.16-1) import into refs/heads/workingbranch

4 years agoImport ceph_14.2.16.orig.tar.gz
Thomas Goirand [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Import ceph_14.2.16.orig.tar.gz

[dgit import orig ceph_14.2.16.orig.tar.gz]

4 years agoAllow binding on lo
Thomas Goirand [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Allow binding on lo

Forwarded: https://github.com/ceph/ceph/pull/38925
Last-Update: 2021-01-15

Commmit 5cf0fa8, solves the issue that
the osd can't restart after seting a virtual local loopback IP. However,
this commit also prevents a bgp-to-the-host over unumbered Ipv6
local-link is setup, where OSD typically are bound to the lo interface.

To solve this, this single char patch simply checks against "lo:" to
match only virtual interfaces instead of anything that starts with "lo".

Gbp-Pq: Name allow-binding-on-lo.patch

4 years agoAnother cmakelists fix
Thomas Goirand [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Another cmakelists fix

Forwarded: no
Last-Update: 2021-01-08

This fixes the last Boost 1.74 compatibility problems.

Gbp-Pq: Name another-cmakelists-fix.patch

4 years agocmake: add 1.74 to known versions
Kefu Chai [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
cmake: add 1.74 to known versions

Bug-Debian: https://bugs.debian.org/977243
Origin: upstream, https://github.com/ceph/ceph/commit/b6a94da6149e50bdd43752919d7c01b04c59f79e.patch
Last-Update: 2020-12-13

Gbp-Pq: Name cmake_add_1.74_to_known_versions.patch

4 years agocmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for
Kefu Chai [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
cmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for

Signed-off-by: Kefu Chai <kchai@redhat.com>
Origin: upstream, https://github.com/ceph/ceph/commit/3d708219092d0e89a1434c30ffc8a4999f062cc0.patch
Bug-Debian: https://bugs.debian.org/977243
Last-Update: 2020-12-13

Boost.Asio users

see also
https://www.boost.org/doc/libs/1_74_0/doc/html/boost_asio/std_executors.html#boost_asio.std_executors.polymorphic_i_o_executor

we could use `asio::any_io_executor` later on though for better
performance.

also, define CMP0093, so FindBoost reports Boost_VERSION in x.y.z
format. it is simpler to use `VERSION_GREATER_EQUAL` to compare its
version with 1.74 instead of its C macro version ("107000").

Gbp-Pq: Name cmake_define_BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT_for_Boost.Asio_users.patch

4 years agoMake Ceph Python 3.9 aware
Thomas Goirand [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Make Ceph Python 3.9 aware

Forwarded: no
Last-Update: 2020-11-28

Add versions of interpreters Ceph didn't know about.

Gbp-Pq: Name make-ceph-python-3.9-aware.patch

4 years agomds-purgequeue-use_uint64_t
Ceph Packaging Team [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
mds-purgequeue-use_uint64_t

===================================================================

Gbp-Pq: Name mds-purgequeue-use_uint64_t.patch

4 years agoLink with -pthread instead of -lpthread to fix FTBFS on riscv64
Ceph Packaging Team [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Link with -pthread instead of -lpthread to fix FTBFS on riscv64

Forwarded: no
Last-Update: 2020-03-01

Gbp-Pq: Name riscv64-link-pthread.patch

4 years agoadd-option-to-disable-ceph-dencoder
Ceph Packaging Team [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
add-option-to-disable-ceph-dencoder

===================================================================

Gbp-Pq: Name add-option-to-disable-ceph-dencoder.patch

4 years agofix-bash-completion-location
Ceph Packaging Team [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
fix-bash-completion-location

Gbp-Pq: Name fix-bash-completion-location

4 years agodebian-armel-armhf-buildflags
Ceph Packaging Team [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
debian-armel-armhf-buildflags

Gbp-Pq: Name debian-armel-armhf-buildflags.patch

4 years ago[PATCH] os/bluestore/BlueFS: use uint64_t for `len`
Kefu Chai [Fri, 28 Jun 2019 03:35:54 +0000 (11:35 +0800)]
[PATCH] os/bluestore/BlueFS: use uint64_t for `len`

change the type of parameter `len` of `BlueFS::_read_random()` from
`size_t` to `uint64_t`.

i think the type of `size_t` comes from
`rocksdb::RandomAccessFile::Read(uint64_t offset, size_t n,
rocksdb::Slice* result, char* scratch)`. and when we implement this
method, we continued using `n`'s type. but, we are using it with
`std::min()`, for instance, where the template parameter type deduction
fails if the lhs and rhs parameters' types are different. so probaly the
better solution is to use `uint64_t` directly to avoid the the cast and
specializing the template.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Gbp-Pq: Name bluefs-use-uint64_t-for-len.patch

4 years agoAdds max_connections to test display.
Jesse Williamson [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Adds max_connections to test display.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_test.patch

4 years agoMakes SOMAXCONN user-configurable.
Jesse Williamson [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Makes SOMAXCONN user-configurable.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/febab7dc38c9671577603425c54c20f841e27f97
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable.patch

4 years agoAdds max_connections to reference configuration.
Jesse Williamson [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Adds max_connections to reference configuration.

Origin: upstream, https://github.com/civetweb/civetweb/pull/776/commits/3b8eb36676f70d06f8918ccf62029207c49cdda0
Bug: https://github.com/civetweb/civetweb/issues/775
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1838109
Gbp-Pq: Name civetweb-755-1.8-somaxconn-configurable_conf.patch

4 years agoAvoid use of size_t when necessary
James Page james.page@ubuntu.com, Bernd Zeimetz [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Avoid use of size_t when necessary

Forwarded: no

On 32 bit architectures size_t is not a 64 bit type, which
causes comparison mismatch failures during compilation.

Gbp-Pq: Name 32bit-avoid-size_t.patch

4 years agoAvoid overloading on 32 bit architectures
James Page james.page@ubuntu.com, Bernd Zeimetz [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Avoid overloading on 32 bit architectures

Forwarded: no

unsigned and size_t are equivalent on 32 bit architectures,
so only define the size_t based overload of advance on 64
bit architectures.
https://wiki.debian.org/ArchitectureSpecificsMemo

Gbp-Pq: Name 32bit-avoid-overloading.patch

4 years agodisable-crypto
Ceph Packaging Team [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
disable-crypto

===================================================================

Gbp-Pq: Name disable-crypto.patch

4 years agouse --release 7 instead of -source/-target
Tiago Stürmer Daitx [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch

4 years agoceph (14.2.16-1) unstable; urgency=medium
Thomas Goirand [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
ceph (14.2.16-1) unstable; urgency=medium

  * Add allow-binding-on-lo.patch.
  * New upstream release.

[dgit import unpatched ceph 14.2.16-1]

4 years agoImport ceph_14.2.16-1.debian.tar.xz
Thomas Goirand [Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)]
Import ceph_14.2.16-1.debian.tar.xz

[dgit import tarball ceph 14.2.16-1 ceph_14.2.16-1.debian.tar.xz]

4 years agoMerge version 14.2.15-3+rpi1 and 14.2.15-4 to produce 14.2.15-4+rpi1 archive/raspbian/14.2.15-4+rpi1 raspbian/14.2.15-4+rpi1
Raspbian automatic forward porter [Mon, 11 Jan 2021 04:08:06 +0000 (04:08 +0000)]
Merge version 14.2.15-3+rpi1 and 14.2.15-4 to produce 14.2.15-4+rpi1

5 years agoMerge ceph (14.2.15-4) import into refs/heads/workingbranch
Thomas Goirand [Sun, 13 Dec 2020 15:33:57 +0000 (15:33 +0000)]
Merge ceph (14.2.15-4) import into refs/heads/workingbranch

5 years agoAnother cmakelists fix
Thomas Goirand [Sun, 13 Dec 2020 15:33:57 +0000 (15:33 +0000)]
Another cmakelists fix

Forwarded: no
Last-Update: 2021-01-08

This fixes the last Boost 1.74 compatibility problems.

Gbp-Pq: Name another-cmakelists-fix.patch

5 years agocmake: add 1.74 to known versions
Kefu Chai [Sun, 13 Dec 2020 15:33:57 +0000 (15:33 +0000)]
cmake: add 1.74 to known versions

Bug-Debian: https://bugs.debian.org/977243
Origin: upstream, https://github.com/ceph/ceph/commit/b6a94da6149e50bdd43752919d7c01b04c59f79e.patch
Last-Update: 2020-12-13

Gbp-Pq: Name cmake_add_1.74_to_known_versions.patch

5 years agocmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for
Kefu Chai [Sun, 13 Dec 2020 15:33:57 +0000 (15:33 +0000)]
cmake: define BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT for

Signed-off-by: Kefu Chai <kchai@redhat.com>
Origin: upstream, https://github.com/ceph/ceph/commit/3d708219092d0e89a1434c30ffc8a4999f062cc0.patch
Bug-Debian: https://bugs.debian.org/977243
Last-Update: 2020-12-13

Boost.Asio users

see also
https://www.boost.org/doc/libs/1_74_0/doc/html/boost_asio/std_executors.html#boost_asio.std_executors.polymorphic_i_o_executor

we could use `asio::any_io_executor` later on though for better
performance.

also, define CMP0093, so FindBoost reports Boost_VERSION in x.y.z
format. it is simpler to use `VERSION_GREATER_EQUAL` to compare its
version with 1.74 instead of its C macro version ("107000").

Gbp-Pq: Name cmake_define_BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT_for_Boost.Asio_users.patch

5 years agoMake Ceph Python 3.9 aware
Thomas Goirand [Sun, 13 Dec 2020 15:33:57 +0000 (15:33 +0000)]
Make Ceph Python 3.9 aware

Forwarded: no
Last-Update: 2020-11-28

Add versions of interpreters Ceph didn't know about.

Gbp-Pq: Name make-ceph-python-3.9-aware.patch