-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-14514 pmdk: PMDK release 2.1.0 (w/o NDCTL enabled) (#37)
Upgrade to version 2.0.1. This version reduces libpmemobj's stack usage below the 11kB threshold. This is the version that allows enabling NDCTL without risk of stack over-usage in argobots ULT. Extend symbols with new API calls. Remove libpmem2 library from the installation. Skip-list-master: test_ior_intercept_libioil:DAOS-16260 test_osa_offline_reintegration_without_checksum:DAOS-15608 test_daos_drain_simple:DAOS-15271 test_daos_rebuild_ec:DAOS-14982 test_osa_offline_reintegration_without_checksum:DAOS-14570 Skip-list-release/2.6: test_cart_rpc:DAOS-15989 test_daos_rebuild_ec:DAOS-14982 test_dfuse_daos_build_wt_pil4dfs:DAOS-16215 test_daos_rebuild_simple:DAOS-15290 test_dfuse_daos_build_wb:DAOS-16215 test_dfuse_daos_build_wt:DAOS-16215 test_dfuse_daos_build_metadata:DAOS-16215 test_dfuse_daos_build_data:DAOS-16215 test_dfuse_daos_build_nocache:DAOS-16215 Allow-unstable-test: true Skip-func-hw-test-large: false Signed-off-by: Tomasz Gromadzki <[email protected]> Signed-off-by: Oksana Salyk <[email protected]> Signed-off-by: Jan Michalski <[email protected]> Co-authored-by: Oksana Sałyk <[email protected]> Co-authored-by: Jan Michalski <[email protected]>
- Loading branch information
1 parent
d741e9d
commit 16d3bc2
Showing
18 changed files
with
296 additions
and
178 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,6 @@ pmempool is a management tool for persistent memory pool files created by the | |
NVM libraries. It may be useful for system administrators as well as for | ||
software developers for troubleshooting and debugging. | ||
|
||
Further details are at http://pmem.io/. | ||
Further details are at https://github.com/pmem/pmdk/. | ||
|
||
-- Nishanth Aravamudan <[email protected]> Thu, 08 Sep 2016 15:19:46 -0700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
pmdk (2.1.0-1) stable; urgency=medium | ||
|
||
* 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. | ||
* Log level thresholds are controlled via new API, see pmem(obj)_log_set_treshold() for details. | ||
* These new APIs are not available for LIBPMEMPOOL at the moment. | ||
* The new logging subsystem is suppressed in the debug build when any of the legacy debug logging environment variables is set: | ||
* PMEM_LOG_LEVEL/_FILE | ||
* PMEMOBJ_LOG_LEVEL/_FILE | ||
* PMEMPOOL_LOG_LEVEL/_FILE | ||
* The debug logging subsystem becomes DEPRECATED. | ||
* Drops support for building without libpthread (NO_LIBPTHREAD build-time define). | ||
* Introduces fuses against ill-considered use of NDCTL_ENABLE=n. | ||
* PMEMOBJ_IGNORE_DIRTY_SHUTDOWN and PMEMOBJ_IGNORE_BAD_BLOCKS are required to acknowledge the understanding of what production-critical functions are missing for the build without NDCTL. | ||
* Does not allow create PMEMOBJ pool without unsafe shutdown counter (USC) if not explicitly disabled. | ||
* use PMEMOBJ_CONF="sds.at_create=0" to disable USC when working without PMem (emulated PMem, Docker, etc.). | ||
* Includes also release 2.0.1 which | ||
* Reduces libpmemobj's stack usage below the 11kB threshold. | ||
|
||
-- Tomasz Gromadzki <[email protected]> Tue, 06 Aug 2024 10:00:00 +0000 | ||
|
||
pmdk (2.0.0-1) stable; urgency=medium | ||
|
||
* Upgrade to 2.0.0 which: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,10 @@ Priority: optional | |
Maintainer: Adam Borowski <[email protected]> | ||
Build-Depends: bash-completion, | ||
bc, | ||
cmake, | ||
debhelper-compat (= 12), | ||
dh-exec, | ||
libdaxctl-dev (>= 64), | ||
libndctl-dev (>= 64), | ||
libdaxctl-dev (>= 63), | ||
libndctl-dev (>= 63), | ||
pandoc, | ||
pkg-config, | ||
python3, | ||
|
@@ -18,7 +17,7 @@ Build-Depends: bash-completion, | |
ed | ||
Standards-Version: 4.5.0 | ||
Rules-Requires-Root: no | ||
Homepage: https://pmem.io/pmdk/ | ||
Homepage: https://github.com/pmem/pmdk/ | ||
Vcs-Git: https://github.com/kilobyte/pmdk -b debian | ||
Vcs-Browser: https://github.com/kilobyte/pmdk/tree/debian | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,41 @@ | |
# | ||
|
||
# Pull base image | ||
FROM centos:7 | ||
FROM centos:centos7 | ||
LABEL maintainer="[email protected]" | ||
|
||
# Use local repo server if present | ||
ARG REPO_FILE_URL | ||
RUN set -e; \ | ||
if [ -n "$REPO_FILE_URL" ]; then \ | ||
cd /etc/yum.repos.d/ && \ | ||
curl -k -f -o daos_ci-centos7-artifactory.repo.tmp \ | ||
"$REPO_FILE_URL"daos_ci-centos7-artifactory.repo && \ | ||
for file in *.repo; do \ | ||
true > $file; \ | ||
done; \ | ||
mv daos_ci-centos7-artifactory.repo{.tmp,}; \ | ||
fi; \ | ||
yum -y install dnf; \ | ||
yum clean all; \ | ||
dnf --disablerepo \*epel\* -y install epel-release \ | ||
dnf-plugins-core; \ | ||
if [ -n "$REPO_FILE_URL" ]; then \ | ||
dnf -y --quiet config-manager --disable epel; \ | ||
fi; \ | ||
dnf -y update epel-release; \ | ||
dnf -y clean all | ||
|
||
# use same UID as host and default value of 1000 if not specified | ||
ARG UID=1000 | ||
|
||
# Update distribution | ||
#Nothing to do for CentOS | ||
|
||
# Install basic tools | ||
RUN yum install -y epel-release | ||
RUN yum install -y mock make rpm-build curl createrepo rpmlint redhat-lsb-core \ | ||
git python-srpm-macros dnf | ||
RUN dnf install -y epel-release | ||
RUN dnf install -y mock make rpm-build curl createrepo rpmlint redhat-lsb-core \ | ||
git python-srpm-macros dnf && dnf -y clean all | ||
|
||
# Add build user (to keep rpmbuild happy) | ||
ENV USER build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# | ||
# Copyright 2018-2023 Intel Corporation | ||
# Copyright 2018-2024 Intel Corporation | ||
# | ||
# 'recipe' for Docker to build an RPM | ||
# | ||
|
||
# Pull base image | ||
ARG FVERSION=38 | ||
ARG FVERSION=latest | ||
FROM fedora:$FVERSION | ||
# Needed for later use of FVERSION | ||
ARG FVERSION | ||
|
@@ -15,27 +15,32 @@ LABEL maintainer="[email protected]" | |
ARG REPO_FILE_URL | ||
RUN if [ -n "$REPO_FILE_URL" ]; then \ | ||
cd /etc/yum.repos.d/ && \ | ||
curl -f -o daos_ci-fedora-artifactory.repo.tmp \ | ||
curl -k -f -o daos_ci-fedora-artifactory.repo.tmp \ | ||
"$REPO_FILE_URL"daos_ci-fedora-artifactory.repo && \ | ||
rm -f *.repo && \ | ||
for file in *.repo; do \ | ||
true > $file; \ | ||
done; \ | ||
mv daos_ci-fedora-artifactory.repo{.tmp,}; \ | ||
fi | ||
|
||
# Install basic tools | ||
RUN dnf -y install mock make \ | ||
rpm-build createrepo rpmlint redhat-lsb-core git \ | ||
python-srpm-macros rpmdevtools | ||
python-srpm-macros rpmdevtools && \ | ||
dnf -y clean all | ||
|
||
# use same UID as host and default value of 1000 if not specified | ||
ARG UID=1000 | ||
|
||
# Add build user (to keep rpmbuild happy) | ||
ENV USER build | ||
ENV PASSWD build | ||
RUN useradd -u $UID -ms /bin/bash $USER | ||
RUN echo "$USER:$PASSWD" | chpasswd | ||
# add the user to the mock group so it can run mock | ||
RUN usermod -a -G mock $USER | ||
RUN if [ $UID != 0 ]; then \ | ||
useradd -u $UID -ms /bin/bash $USER; \ | ||
echo "$USER:$PASSWD" | chpasswd; \ | ||
usermod -a -G mock $USER; \ | ||
fi | ||
|
||
ARG CB0 | ||
RUN dnf -y upgrade && \ | ||
|
@@ -45,15 +50,24 @@ RUN dnf -y upgrade && \ | |
# https://github.com/rpm-software-management/rpmlint/pull/795 in it | ||
# But make sure to patch after dnf upgrade so that an upgraded rpmlint | ||
# RPM doesn't wipe out our patch | ||
COPY packaging/rpmlint--ignore-unused-rpmlintrc.patch . | ||
# Ditto for the patch to zero and display ccache stats | ||
# https://github.com/rpm-software-management/mock/pull/1299 | ||
ARG PACKAGINGDIR=packaging | ||
COPY ${PACKAGINGDIR}/*.patch ./ | ||
RUN (cd $(python3 -c 'import site; print(site.getsitepackages()[-1])') && \ | ||
if ! grep -e --ignore-unused-rpmlintrc rpmlint/cli.py; then \ | ||
if ! patch -p1; then \ | ||
if ! patch -p1 < $OLDPWD/rpmlint--ignore-unused-rpmlintrc.patch; then \ | ||
exit 1; \ | ||
fi; \ | ||
rm -f rpmlint/__pycache__/{cli,lint}.*.pyc; \ | ||
fi) < rpmlint--ignore-unused-rpmlintrc.patch; \ | ||
rm -f rpmlint--ignore-unused-rpmlintrc.patch | ||
fi; \ | ||
if ! grep _ccachePostBuildHook mockbuild/plugins/ccache.py; then \ | ||
if ! patch -p3 < $OLDPWD/ccache-stats.patch; then \ | ||
exit 1; \ | ||
fi; \ | ||
rm -f mockbuild/plugins/__pycache__/ccache.*.pyc; \ | ||
fi); \ | ||
rm -f rpmlint--ignore-unused-rpmlintrc.patch ccache-stats.patch | ||
|
||
# show the release that was built | ||
ARG CACHEBUST | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.