[packages/ceph] - updated patch
baggins
baggins at pld-linux.org
Sun Dec 22 12:32:41 CET 2024
commit 9ab241ca4e934b6f7b92e9ec2568405dd2609b63
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Dec 22 12:34:47 2024 +0100
- updated patch
types.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/types.patch b/types.patch
index 8317be5..7c2a31a 100644
--- a/types.patch
+++ b/types.patch
@@ -26,11 +26,11 @@
std::size_t off = 0;
ceph::buffer::list bl;
-- while (auto toread = std::max(len - off, io_size)) {
-+ while (auto toread = std::max(len - off, (uint64_t)io_size)) {
+- while (auto toread = std::min(len - off, io_size)) {
++ while (auto toread = std::min(len - off, (uint64_t)io_size)) {
R::ReadOp op;
op.read(off, toread, &bl);
- r.execute(obj, pool, std::move(op), nullptr, y[ec]);
+ co_await r.execute(obj, pool, std::move(op), nullptr,
--- ceph-16.2.7/src/tools/cephfs_mirror/FSMirror.cc.orig 2021-12-07 17:15:49.000000000 +0100
+++ ceph-16.2.7/src/tools/cephfs_mirror/FSMirror.cc 2022-02-12 22:30:46.487298972 +0100
@@ -345,7 +345,7 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ceph.git/commitdiff/9ab241ca4e934b6f7b92e9ec2568405dd2609b63
More information about the pld-cvs-commit
mailing list