diff --git a/0004-fix-vdostats-output-error.patch b/0004-fix-vdostats-output-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..244539f0c7cfb1fb1515bd7056c79c3bedbc2727 --- /dev/null +++ b/0004-fix-vdostats-output-error.patch @@ -0,0 +1,26 @@ +From 59ad7982024fcc557e720235a11e345244e6840e Mon Sep 17 00:00:00 2001 +From: Matthew Sakai +Date: Thu, 30 Apr 2024 23:19:14 -0400 +Subject: [PATCH] fix vdostats output error + +--- a/utils/vdo/messageStatsReader.c ++++ b/utils/vdo/messageStatsReader.c +@@ -864,15 +864,6 @@ static int read_vdo_statistics(char **buf, + if (result != VDO_SUCCESS) { + return result; + } +- result = skip_string(buf, "releaseVersion : "); +- if (result != VDO_SUCCESS) { +- return result; +- } +- result = read_uint32_t(buf, +- &stats->release_version); +- if (result != VDO_SUCCESS) { +- return result; +- } + /** Number of blocks used for data */ + result = skip_string(buf, "dataBlocksUsed : "); + if (result != VDO_SUCCESS) { +-- +2.43.0 + diff --git a/vdo.spec b/vdo.spec index 7a2978d3e216f7b8fe46cdcafdfcf577e75b19c2..c833fc6f76d34c296b4bf414479512ac80347cb7 100644 --- a/vdo.spec +++ b/vdo.spec @@ -1,6 +1,6 @@ Name: vdo Version: 8.2.2.2 -Release: 2 +Release: 3 Summary: Management tools for Virtual Data Optimizer License: GPLv2 URL: http://github.com/dm-vdo/vdo @@ -8,6 +8,7 @@ Source0: https://github.com/dm-vdo/vdo/archive/refs/tags/%{version}.tar.gz Patch0001: 0001-Add-loongarch64-support.patch Patch0002: 0002-fix_dmeventd_linking.patch Patch0003: 0003-RISC-V-support.patch +Patch0004: 0004-fix-vdostats-output-error.patch BuildRequires: gcc libuuid-devel device-mapper-devel device-mapper-event-devel BuildRequires: zlib-devel libblkid-devel @@ -54,6 +55,9 @@ This package provides the user-space management tools for VDO. %{_mandir}/man8/* %changelog +* Thu Oct 23 2025 weishuaihao - 8.2.2.2-3 +- Fix vdostats output error + * Sun Apr 28 2024 yinsist - 8.2.2.2-2 - Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture