summaryrefslogtreecommitdiff
path: root/repo/ceph/35-fix_ErasureCodeShec.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-27 23:08:34 +0100
committerdavidovski <david@davidovski.xyz>2022-06-27 23:08:34 +0100
commitf13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (patch)
tree31fe2a493efcc3ec8721b8ae9943a0f938cd3f4d /repo/ceph/35-fix_ErasureCodeShec.patch
parente4a392b4e1e547c9569abdd1f08ec51da3dc4562 (diff)
added qemu
Diffstat (limited to 'repo/ceph/35-fix_ErasureCodeShec.patch')
-rw-r--r--repo/ceph/35-fix_ErasureCodeShec.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/repo/ceph/35-fix_ErasureCodeShec.patch b/repo/ceph/35-fix_ErasureCodeShec.patch
deleted file mode 100644
index 0ab2cc2..0000000
--- a/repo/ceph/35-fix_ErasureCodeShec.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-patch by Vladimir Bashkirtsev
-
-diff -uNr ceph-15.2.4/src/erasure-code/shec/ErasureCodeShec.cc ceph-15.2.4-fix_ErasureCodeShec/src/erasure-code/shec/ErasureCodeShec.cc
---- ceph-15.2.4/src/erasure-code/shec/ErasureCodeShec.cc 2020-07-01 01:10:51.000000000 +0930
-+++ ceph-15.2.4-fix_ErasureCodeShec/src/erasure-code/shec/ErasureCodeShec.cc 2020-11-14 00:46:20.029488684 +1030
-@@ -197,7 +197,10 @@
- }
- unsigned int k = get_data_chunk_count();
- unsigned int m = get_chunk_count() - k;
-- unsigned blocksize = (*chunks.begin()).second.length();
-+ unsigned blocksize = 0;
-+ if (chunks.size() > 0) {
-+ blocksize = (*chunks.begin()).second.length();
-+ }
- for (unsigned int i = 0; i < k + m; i++) {
- if (chunks.find(i) == chunks.end()) {
- bufferlist tmp;