Skip to content

Commit

Permalink
DAOS-16660 common: no-error-msg-on-user-abort
Browse files Browse the repository at this point in the history
It also fixes:
DAOS-16758 - Unnecessary warning: "Cannot find any matching device,
				   no bad blocks found" for non-pmem HW

Skip-list: test_ior_intercept_libpil4dfs:DAOS-16260
Skip-list-release/2.6: test_daos_rebuild_ec:DAOS-16171 test_daos_rebuild_ec:DAOS-14982
Skip-list-master: test_daos_degraded_ec:DAOS-16503 test_dfuse_daos_build_wt_pil4dfs:DAOS-16732
Cancel-prev-build=false
Allow-unstable-test: true

Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Nov 5, 2024
1 parent 7fe78c0 commit 890f16d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
pmdk (2.1.0-3) stable; urgency=medium
* Use patch to avoid anoing error message on intentional transaction abort.
* Use patch to avoid anoing error message on PMDK used with non-PMem HW.

-- Tomasz Gromadzki <[email protected]> Thu, 24 Oct 2024 10:00:00 +0000


pmdk (2.1.0-2) stable; urgency=medium

* Enable NDCTL on the top of PMDK 2.1.0
Expand Down
2 changes: 1 addition & 1 deletion packaging/get_base_branch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -eux -o pipefail
IFS=' ' read -r -a add_bases <<< "${1:-}"
origin=origin
origin="${ORIGIN:-origin}"
mapfile -t all_bases < <(echo "master"
git branch -r | sed -ne "/^ $origin\\/release\\/[0-9]/s/^ $origin\\///p")
all_bases+=("${add_bases[@]}")
Expand Down
16 changes: 14 additions & 2 deletions pmdk.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%global minor 1
%global bugrelease 0
#%%global prerelease rc1
%global buildrelease 2
%global buildrelease 3

%global _hardened_build 1

Expand All @@ -37,6 +37,13 @@ URL: https://github.com/pmem/pmdk
}

Source: https://github.com/pmem/%{name}/releases/download/%{upstream_version}/%{name}-%{upstream_version}.tar.gz
%if "%{?commit}" != ""
Patch0: %{version}..%{commit}.patch
%endif
# Fix https://github.com/pmem/pmdk/issues/6107 : Annoying error message on user intentional transaction abort
Patch1: https://github.com/pmem/pmdk/commit/61e32285370e629e2b36bbb991b919e44f87d915.patch
# Fix https://github.com/pmem/pmdk/issues/6126 : Unnecessary warning: "Cannot find any matching device, no bad blocks found" for non-pmem HW
Patch2: https://github.com/pmem/pmdk/commit/518b7426a13b21f98b2d2c435fa645770899446a.patch

BuildRequires: gcc
BuildRequires: make
Expand Down Expand Up @@ -403,11 +410,16 @@ make %{make_common_args} check


%changelog
* Wed Oct 23 2024 Tomasz Gromadzki <[email protected]> - 2.1.0-3
- use patch to avoid anoing error message on intentional transaction abort.
- use patch to avoid anoing error message on PMDK used with non-PMem HW.


* Wed Sep 04 2024 Tomasz.Gromadzki <[email protected]> - 2.1.0-2
- Enable NDCTL on the top of PMDK 2.1.0
- remove an option to build PMDK w/o NDCTL.

* Tue Aug 06 2024 Tomasz.Gromadzki <[email protected]> - 2.1.0-1
* Tue Aug 06 2024 Tomasz Gromadzki <[email protected]> - 2.1.0-1
- Update to release 2.1.0 w/o NDCTL support which:
- Introduces the new logging subsystem in the release build for all libraries.
- Messages by default are printed to syslog and stderr but might be redirected to a user-defined function, see pmem(obj)_log_set_function() for details.
Expand Down

0 comments on commit 890f16d

Please sign in to comment.