-
Notifications
You must be signed in to change notification settings - Fork 56
Conversation
6ae48cf
to
71d2e52
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 21 of 76 files at r1.
Reviewable status: 21 of 76 files reviewed, 16 unresolved discussions (waiting on @ldorau)
ChangeLog, line 3 at r1 (raw file):
Fri Oct 26 2018 M S <m.s@intel.com> * Version 1.0
1.0 already?
CMakeLists.txt, line 13 at r1 (raw file):
set(VERSION_MINOR 2) set(VERSION_PATCH 0) #set(VERSION_PRERELEASE rc1)
I'm not sure, but I believe we never used it before in any other repo...
codecov.yml, line 7 at r1 (raw file):
threshold: 0.2 ignore:
src/valgrind/
andsrc/sys
I guess
README.md, line 4 at r1 (raw file):
[![Travis build status](https://travis-ci.org/pmem/rpma.svg?branch=master)](https://travis-ci.org/pmem/rpma) [![GHA build status](https://github.com/pmem/rpma/workflows/RPMA/badge.svg)](https://github.com/pmem/rpma/actions)
branch=master
doc/librpma.7.md, line 11 at r1 (raw file):
[comment]: <> (SPDX-License-Identifier: BSD-3-Clause) [comment]: <> (Copyright 2019, Intel Corporation)
2019?
doc/librpma.7.md, line 70 at r1 (raw file):
**XXX**(3) and **<http://pmem.io>**
https (actually you can check the whole PR for "http://"
doc/librpma.Doxyfile.in, line 183 at r1 (raw file):
#--------------------------------------------------------------------------- # Configuration options related to the HTML output #---------------------------------------------------------------------------
consider also man output
(http://www.doxygen.nl/manual/starting.html#man_out)
utils/check_whitespace, line 4 at r1 (raw file):
# # SPDX-License-Identifier: BSD-3-Clause # Copyright 2015-2018, Intel Corporation
-2020 (you touched it this year, e.g. by changing the license ;) )
utils/docker/build.sh, line 44 at r1 (raw file):
fi imageName=${DOCKERHUB_REPO}:0.1-${OS}-${OS_VER}
- in CMake you have "0.2", make it consistent, I believe
- you're missing this "0.1" prefix in other places (perhaps not only in this but also in other file(s) )
utils/docker/build.sh, line 67 at r1 (raw file):
# Only run doc update on pmem/rpma master branch if [[ "$TRAVIS_BRANCH" != "master" || "$TRAVIS_PULL_REQUEST" != "false" || "$TRAVIS_REPO_SLUG" != "${GITHUB_REPO}" ]]; then
consider the latest changes (already to include 'valid branches', see e.g. pmem/libpmemobj-cpp#656 )
utils/docker/prepare-for-build.sh, line 4 at r1 (raw file):
# # SPDX-License-Identifier: BSD-3-Clause # Copyright 2019, Intel Corporation
2020
utils/docker/pull-or-rebuild-image.sh, line 12 at r1 (raw file):
# # The script rebuilds the Docker image if the Dockerfile for the current # OS version (Dockerfile.${OS}-${OS_VER}) or any .sh script from the directory
as mentioned in prev. comment - missing "0.1" prefix
utils/docker/run-build.sh, line 79 at r1 (raw file):
} cd $WORKDIR
this is redundant I believe
utils/docker/run-coverity.sh, line 4 at r1 (raw file):
# # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018-2019, Intel Corporation
.
utils/md2man/default.man, line 21 at r1 (raw file):
$endfor$ .\" SPDX-License-Identifier: BSD-3-Clause .\" Copyright 2019-$year$, Intel Corporation
2019?
utils/md2man/md2man.sh, line 4 at r1 (raw file):
# # SPDX-License-Identifier: BSD-3-Clause # Copyright 2020, Intel Corporation
I guess this script is a bit older than just 2020 ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 76 files at r1.
Reviewable status: 21 of 76 files reviewed, 23 unresolved discussions (waiting on @ldorau)
.travis.yml, line 5 at r1 (raw file):
sudo: required language: cpp
?
ChangeLog, line 5 at r1 (raw file):
* Version 1.0 This is the first release of librpma as a separate project.
I think we will add this file when rpma will have a release.
doc/librpma.Doxyfile.in, line 20 at r1 (raw file):
# The default value is: My Project. PROJECT_NAME = "librpma"
RPMA
doc/librpma.Doxyfile.in, line 109 at r1 (raw file):
# *.qsf, *.as and *.js. FILE_PATTERNS = "*.c *.h"
You are sure this is the right way to concat patterns? I cannot find this in the documentation.
examples/README, line 2 at r1 (raw file):
This directory contains examples for librpma, the library providing a transactional object store for pmem. Some of these examples are explained
This directory contains examples for librpma, the library to simplify accessing persistent memory devices on remote hosts over Remote Direct Memory Access (RDMA).
examples/README, line 3 at r1 (raw file):
This directory contains examples for librpma, the library providing a transactional object store for pmem. Some of these examples are explained in more detail here: https://pmem.io/librpma/
Remove this sentence. It is enough what we have in the last paragraph.
examples/README, line 7 at r1 (raw file):
If you're looking for documentation to get you started using PMDK, start here: https://pmem.io/pmdk and follow the links to examples and man pages.
- using RPMA
- start here: https://pmem.io/librpma/
71d2e52
to
65440bb
Compare
My builds: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 7 of 76 files at r1.
Reviewable status: 24 of 76 files reviewed, 26 unresolved discussions (waiting on @janekmi, @ldorau, and @lukaszstolarczuk)
utils/cppstyle, line 46 at r1 (raw file):
foreach(@ARGV) { check($_) }
We do not plan to have a c++ code here. I think we can get rid of it.
utils/check_license/check-headers.sh, line 69 at r1 (raw file):
[ -z $MERGE_BASE ] && \ MERGE_BASE=$($GIT log --pretty="%cN:%H" | grep GitHub | head -n1 | cut -d: -f2) [ -z "$MERGE_BASE" -o "$CURRENT_COMMIT" == "$MERGE_BASE" ] && \
I have found in this line a difference comparing to what is available on PMDK.
It looks like small improvements/fixes. Do you know why it is not present also on PMDK?
utils/docker/images/README.md, line 22 at r1 (raw file):
```sh docker run --network=bridge --shm-size=4G -v /your/workspace/path/:/opt/workspace:z -w /opt/workspace/ -e CC=clang -e CXX=clang++ -e PKG_CONFIG_PATH=/opt/pmdk/lib/pkgconfig -it rpma:debian-unstable /bin/bash
CXX?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 76 files at r1.
Reviewable status: 25 of 76 files reviewed, 46 unresolved discussions (waiting on @janekmi, @ldorau, and @lukaszstolarczuk)
ChangeLog, line 5 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
I think we will add this file when rpma will have a release.
+1
README.md, line 6 at r2 (raw file):
[![GHA build status](https://github.com/pmem/rpma/workflows/RPMA/badge.svg)](https://github.com/pmem/rpma/actions) [![librpma version](https://img.shields.io/github/tag/pmem/rpma.svg)](https://github.com/pmem/rpma/releases/latest) [![Coverity Scan Build Status](https://scan.coverity.com/projects/15911/badge.svg)](https://scan.coverity.com/projects/pmem-librpma)
Please drop Coverity badge for now
cmake/FindLIBIBVERBS.cmake, line 6 at r2 (raw file):
# message(STATUS "Looking for libibverbs ...")
you should not need these Find*.cmake files. Use pkg-config.
cmake/librpma-config.cmake.in, line 8 at r2 (raw file):
@PACKAGE_INIT@ find_path(LIBPMEM_INCLUDE_DIR libpmem.h)
libpmem?
cmake/librpma.pc.in, line 5 at r2 (raw file):
Name: librpma Description: librpma - template for a new libpmem library
libpmem?
cmake/librpma.pc.in, line 8 at r2 (raw file):
Version: @VERSION@ URL: https://github.com/pmem/rpma Requires: libpmem >= @LIBPMEM_REQUIRED_VERSION@
no, that's not true
cmake/packages.cmake, line 37 at r2 (raw file):
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR}) set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR}) set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "template for a new libpmem library")
.
cmake/packages.cmake, line 44 at r2 (raw file):
set(CPACK_RPM_PACKAGE_LICENSE "BSD") set(CPACK_RPM_PACKAGE_ARCHITECTURE x86_64) set(CPACK_RPM_PACKAGE_REQUIRES "libpmem >= ${LIBPMEM_REQUIRED_VERSION}")
.
cmake/packages.cmake, line 50 at r2 (raw file):
set(CPACK_DEBIAN_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION}) set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE amd64) set(CPACK_DEBIAN_PACKAGE_DEPENDS "libpmem (>= ${LIBPMEM_REQUIRED_VERSION})")
.
cmake/packages.cmake, line 51 at r2 (raw file):
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE amd64) set(CPACK_DEBIAN_PACKAGE_DEPENDS "libpmem (>= ${LIBPMEM_REQUIRED_VERSION})") set(CPACK_DEBIAN_PACKAGE_MAINTAINER "marcin.slusarz@intel.com")
no
doc/CMakeLists.txt, line 28 at r2 (raw file):
include(FindDoxygen) if(DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND)
are you going to provide doxygen documentaion?
doc/librpma.Doxyfile.in, line 1 at r2 (raw file):
#---------------------------------------------------------------------------
again, do we need this file at all?
src/librpma.map, line 6 at r2 (raw file):
# # # src/librpma.link -- linker link file for librpma
doesn't match the file name
src/sys/queue.h, line 1 at r2 (raw file):
/*
do you really need this file? I'm pretty sure you won't
src/valgrind/drd.h, line 1 at r2 (raw file):
/*
I think Valgrind headers won't be needed.
tests/CMakeLists.txt, line 19 at r2 (raw file):
# disable warning C4996 - disable checking iterators add_flag(-D_SCL_SECURE_NO_WARNINGS)
does it apply to C code?
tests/CMakeLists.txt, line 25 at r2 (raw file):
# fix C1128 raised for some test binaries add_flag(-bigobj)
.
tests/valgrind_internal.h, line 1 at r2 (raw file):
/*
again, shouldn't be needed
tests/cmake/ctest_helpers.cmake, line 42 at r2 (raw file):
endfunction() function(find_pmemcheck)
.
tests/cmake/ctest_helpers.cmake, line 126 at r2 (raw file):
endfunction() set(vg_tracers memcheck helgrind drd pmemcheck)
.
utils/check_license/check-ms-license.pl, line 1 at r2 (raw file):
#!/usr/bin/perl -w
this file shouldn't be needed at all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 76 files at r1.
Reviewable status: 29 of 76 files reviewed, 57 unresolved discussions (waiting on @janekmi, @ldorau, and @lukaszstolarczuk)
CMakeLists.txt, line 13 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
I'm not sure, but I believe we never used it before in any other repo...
wip?
We currently do not want to mark anything as ready in any respect.
CMakeLists.txt, line 11 at r2 (raw file):
set(VERSION_MAJOR 0) set(VERSION_MINOR 2)
1
CMakeLists.txt, line 25 at r2 (raw file):
set(LIBPMEM_REQUIRED_VERSION 1.7) set(LIBIBVERBS_REQUIRED_VERSION 1.4) set(LIBRDMACM_REQUIRED_VERSION 1.2)
We have to rethink these requirements in the near future.
What was your inspiration to set these exact values? :-)
CMakeLists.txt, line 29 at r2 (raw file):
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON) include(FindPerl)
?
CMakeLists.txt, line 31 at r2 (raw file):
include(FindPerl) include(FindThreads) include(CMakeDependentOption)
Not used?
CMakeLists.txt, line 32 at r2 (raw file):
include(FindThreads) include(CMakeDependentOption) include(CMakePackageConfigHelpers)
.?
CMakeLists.txt, line 33 at r2 (raw file):
include(CMakeDependentOption) include(CMakePackageConfigHelpers) include(CheckCSourceCompiles)
.?
CMakeLists.txt, line 34 at r2 (raw file):
include(CMakePackageConfigHelpers) include(CheckCSourceCompiles) include(CheckCCompilerFlag)
.?
utils/check_license/file-exceptions.sh, line 7 at r1 (raw file):
# file-exceptions.sh - filter out files not checked for copyright and license grep -v -E -e '/queue.h$' -e 'src/valgrind/'
$
?
utils/docker/run-build.sh, line 19 at r2 (raw file):
PREFIX=/usr TEST_DIR=${RPMA_TEST_DIR:-${DEFAULT_TEST_DIR}} CHECK_CPP_STYLE=${CHECK_CPP_STYLE:-ON}
CPP?
utils/docker/run-build.sh, line 93 at r2 (raw file):
-DCMAKE_INSTALL_PREFIX=$PREFIX \ -DCOVERAGE=$COVERAGE \ -DCHECK_CPP_STYLE=${CHECK_CPP_STYLE} \
.
utils/docker/run-doc-update.sh, line 41 at r2 (raw file):
git clean -df cp -f $CURR_DIR/doc/*.md master/manpages/ cp -fr $CURR_DIR/cpp_html/* master/doxygen/
cpp?
65440bb
to
4f39939
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 22 of 75 files reviewed, 57 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
.travis.yml, line 5 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
?
Done.
doc/librpma.7.md, line 11 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
2019?
Done.
doc/librpma.7.md, line 70 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
https (actually you can check the whole PR for "http://"
Done.
doc/librpma.Doxyfile.in, line 20 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
RPMA
Done.
doc/librpma.Doxyfile.in, line 109 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
You are sure this is the right way to concat patterns? I cannot find this in the documentation.
Done.
examples/README, line 2 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
This directory contains examples for librpma, the library to simplify accessing persistent memory devices on remote hosts over Remote Direct Memory Access (RDMA).
Done.
examples/README, line 3 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
Remove this sentence. It is enough what we have in the last paragraph.
Done.
examples/README, line 7 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
- using RPMA
- start here: https://pmem.io/librpma/
Done.
src/librpma.map, line 6 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
doesn't match the file name
Done.
src/sys/queue.h, line 1 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
do you really need this file? I'm pretty sure you won't
It is needed by the current POC implementation of RPMA
src/valgrind/drd.h, line 1 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
I think Valgrind headers won't be needed.
@janekmi really?
tests/CMakeLists.txt, line 19 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
does it apply to C code?
Done.
tests/CMakeLists.txt, line 25 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
.
Done.
utils/check_whitespace, line 4 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
-2020 (you touched it this year, e.g. by changing the license ;) )
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 76 files at r1, 2 of 21 files at r3.
Reviewable status: 28 of 75 files reviewed, 57 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
.travis.yml, line 5 at r1 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
Done.
?
ChangeLog, line 3 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
1.0 already?
We are progressing fast!
cmake/functions.cmake, line 13 at r3 (raw file):
string(REPLACE ";" "${SEP}" JOIN_TMP "${VALUES}") set(${OUT} "${JOIN_TMP}" PARENT_SCOPE) endfunction()
Not used.
cmake/functions.cmake, line 67 at r3 (raw file):
# instead. # ${name} must be unique. function(add_cppstyle name)
cpp
doc/librpma.Doxyfile.in, line 109 at r1 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
Done.
Can you refer the doxy documentation on it? I do not know it is right either way.
doc/librpma.Doxyfile.in, line 1 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
again, do we need this file at all?
We agreed to use doxygen documentation in this repo.
We hope to take this way:
- inlined documentation
- documentation also for static functions (this way it is easier to understand the implementation for newcomers; it may be useful if RPMA is also a reference implementation for other solutions)
- easy (more or less) to generate man's from it too
src/valgrind/drd.h, line 1 at r2 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
@janekmi really?
We are using valgrind macros in librpmem. I'm pretty sure it will be also needed for RPMA.
- VALGRIND_DO_MAKE_MEM_DEFINED
- VALGRIND_ANNOTATE_IGNORE_READS_BEGIN/_END
- VALGRIND_ANNOTATE_IGNORE_WRITES_BEGIN/_END
I think we can start with leaving headers at least headers which define these macros. Others we will add if needed.
utils/docker/images/install-pmdk.sh, line 34 at r3 (raw file):
if [ "$PACKAGE_TYPE" = "dpkg" ]; then sudo dpkg -i dpkg/libpmem_*.deb dpkg/libpmem-dev_*.deb sudo dpkg -i dpkg/libpmemobj_*.deb dpkg/libpmemobj-dev_*.deb
You have skipped pmreorder intenionally?
utils/docker/images/push-image.sh, line 45 at r3 (raw file):
# Push the image to the repository docker push ${DOCKERHUB_REPO}:0.1-$1
All these version strings are typed by hand everywhere in our repos, really?
4f39939
to
230580c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 28 of 75 files reviewed, 57 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
ChangeLog, line 3 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
1.0 already?
Done.
ChangeLog, line 5 at r1 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
+1
Done.
CMakeLists.txt, line 13 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
wip?
We currently do not want to mark anything as ready in any respect.
Done.
CMakeLists.txt, line 11 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
1
Done.
CMakeLists.txt, line 25 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
We have to rethink these requirements in the near future.
What was your inspiration to set these exact values? :-)
I have changed them to the current versions
CMakeLists.txt, line 29 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
?
utils/cppstyle requires Perl.
utils/cppstyle script is a wrapper for clang-format. We use clang-format instead of PMDK's cstyle perl script
codecov.yml, line 7 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
src/valgrind/
andsrc/sys
I guess
Done.
README.md, line 4 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
branch=master
Done.
README.md, line 6 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
Please drop Coverity badge for now
Done.
cmake/FindLIBIBVERBS.cmake, line 6 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
you should not need these Find*.cmake files. Use pkg-config.
They are needed, because those packages do not have pkgconfig files on Ubuntu and Fedora.
cmake/librpma-config.cmake.in, line 8 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
libpmem?
Done.
cmake/librpma.pc.in, line 5 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
libpmem?
Done.
cmake/packages.cmake, line 37 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
.
Done.
cmake/packages.cmake, line 51 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
no
Removed
doc/CMakeLists.txt, line 28 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
are you going to provide doxygen documentaion?
Yes.
doc/librpma.Doxyfile.in, line 1 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
We agreed to use doxygen documentation in this repo.
We hope to take this way:
- inlined documentation
- documentation also for static functions (this way it is easier to understand the implementation for newcomers; it may be useful if RPMA is also a reference implementation for other solutions)
- easy (more or less) to generate man's from it too
Yes.
src/valgrind/drd.h, line 1 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
We are using valgrind macros in librpmem. I'm pretty sure it will be also needed for RPMA.
- VALGRIND_DO_MAKE_MEM_DEFINED
- VALGRIND_ANNOTATE_IGNORE_READS_BEGIN/_END
- VALGRIND_ANNOTATE_IGNORE_WRITES_BEGIN/_END
I think we can start with leaving headers at least headers which define these macros. Others we will add if needed.
Done.
tests/valgrind_internal.h, line 1 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
again, shouldn't be needed
Removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 76 files at r1, 4 of 21 files at r3, 3 of 15 files at r4.
Reviewable status: 31 of 70 files reviewed, 58 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
.codecov.yml, line 7 at r4 (raw file):
- examples/ - utils/ - tests/
- A-Z order?
- cmake?
CMakeLists.txt, line 13 at r1 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
Done.
set(VERSION_PATCH wip)
It is possible?
CMakeLists.txt, line 25 at r2 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
I have changed them to the current versions
My ubuntu has libibverbs 1.6. ;-)
utils/docker/images/Dockerfile.fedora-31, line 12 at r4 (raw file):
# Pull base image FROM fedora:31 MAINTAINER firstname.secondname@intel.com
utils/docker/images/Dockerfile.fedora-31, line 49 at r4 (raw file):
wget \ which \ xmlto \
.
utils/docker/images/Dockerfile.ubuntu-19.10, line 12 at r3 (raw file):
# Pull base image FROM ubuntu:19.10 MAINTAINER firstname.secondname@intel.com
@grom72 @marcinslusarz: any candidates to take this place?
utils/docker/images/Dockerfile.ubuntu-19.10, line 48 at r3 (raw file):
uuid-dev \ wget \ whois \
We are really using all of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 76 files at r1, 1 of 21 files at r3, 5 of 15 files at r4.
Reviewable status: 42 of 70 files reviewed, 58 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
cmake/FindLIBIBVERBS.cmake, line 6 at r2 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
They are needed, because those packages do not have pkgconfig files on Ubuntu and Fedora.
Are you sure? My ubuntu responds properly:
$ pkg-config libibverbs --moversion
1.6.24.0
cmake/librpma.pc.in, line 8 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
no, that's not true
👍
Requires:
- libibverbs
- librdmacm
src/valgrind/drd.h, line 1 at r2 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
Done.
Nope.
My grepping is telling these macros were defined in valgrind_internal.h.
I guess we need that one. I'm not sure why we would need drd.h, helgrind.h, memcheck.h.
Any arguments here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 13 of 76 files at r1, 3 of 3 files at r2, 8 of 21 files at r3, 5 of 15 files at r4.
Reviewable status: 67 of 70 files reviewed, 72 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
doc/librpma.7.md, line 7 at r4 (raw file):
collection: librpma header: PMDK date: rpma API version 1.3
0.1 at best. ;-)
doc/librpma.Doxyfile.in, line 183 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
consider also
man output
(http://www.doxygen.nl/manual/starting.html#man_out)
👍
examples/CMakeLists.txt, line 7 at r4 (raw file):
if(MSVC_VERSION) add_flag(-W4)
No Windows here.
examples/CMakeLists.txt, line 37 at r4 (raw file):
include_directories( ${LIBRPMA_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/../src
Includes should be stored only in the include directory.
Please remove src from here.
examples/CMakeLists.txt, line 43 at r4 (raw file):
add_cppstyle(examples-template-example ${CMAKE_CURRENT_SOURCE_DIR}/template-example/*.[ch])
You are saying cppstyle is an equivalent of cstyle?
examples/CMakeLists.txt, line 57 at r4 (raw file):
add_executable(example-${name} ${srcs}) target_include_directories(example-${name} PUBLIC ${LIBRPMA_INCLUDE_DIRS}) target_link_libraries(example-${name} rpma ${LIBRPMA_LIBRARIES} ${LIBPMEM_LIBRARIES})
No libpmem here.
examples/CMakeLists.txt, line 67 at r4 (raw file):
set(CURSES_NEED_NCURSES TRUE) find_package(Curses QUIET) endif()
I guess we do not need it.
examples/template-example/CMakeLists.txt, line 7 at r4 (raw file):
cmake_minimum_required(VERSION 3.3) project(template-example CXX)
CXX niet.
examples/template-example/CMakeLists.txt, line 13 at r4 (raw file):
if(NOT WIN32) find_package(PkgConfig QUIET) endif()
No Windows here.
examples/template-example/CMakeLists.txt, line 23 at r4 (raw file):
link_directories(${LIBRPMA_LIBRARY_DIRS}) add_executable(template-example template-example.cpp)
cpp
examples/template-example/README, line 1 at r4 (raw file):
Persistent Memory Development Kit
remove.
examples/template-example/README, line 3 at r4 (raw file):
Persistent Memory Development Kit This is examples/librpma/README.
This is examples/template-example/README.
src/CMakeLists.txt, line 23 at r4 (raw file):
target_link_libraries(rpma PRIVATE ${LIBPMEM_LIBRARIES}
no pmem here/
src/sys/queue.h, line 1 at r2 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
It is needed by the current POC implementation of RPMA
It was handy during POC. I guess we can get rid of for now. We will add later if it will be really needed.
tests/memcheck-stdcpp.supp, line 11 at r4 (raw file):
fun:_dl_init obj:*/ld-*.so }
No CPP here. You can remove.
tests/cmake/run_default.cmake, line 12 at r4 (raw file):
execute(${TEST_EXECUTABLE} ${DIR}/testfile) finish()
It does not look right.
I'm not an expert but... in other projects this file is in tests/ directory as well as helpers.cmake.
I think paths here are messed up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 67 of 70 files reviewed, 62 unresolved discussions (waiting on @grom72, @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
src/sys/queue.h, line 1 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
It was handy during POC. I guess we can get rid of for now. We will add later if it will be really needed.
queue.h in pmdk was needed because of Windows, are you going to support it in rpma?
utils/docker/images/Dockerfile.fedora-31, line 12 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
definitely not me
230580c
to
a5e08e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 67 of 70 files reviewed, 62 unresolved discussions (waiting on @grom72, @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
.codecov.yml, line 7 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
- A-Z order?
- cmake?
Done.
.travis.yml, line 5 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
?
???
CMakeLists.txt, line 13 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
set(VERSION_PATCH wip)
It is possible?
No, I added:
set(VERSION_PRERELEASE wip)
CMakeLists.txt, line 25 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
My ubuntu has libibverbs 1.6. ;-)
Done.
CMakeLists.txt, line 31 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
Not used?
Removed
CMakeLists.txt, line 32 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
.?
Required by configure_package_config_file
CMakeLists.txt, line 33 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
.?
Removed
CMakeLists.txt, line 34 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
.?
Required by check_c_compiler_flag
cmake/FindLIBIBVERBS.cmake, line 6 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
Are you sure? My ubuntu responds properly:
$ pkg-config libibverbs --moversion 1.6.24.0
Indeed. Pkgconfig finds them now. Strange ... OK, I am removing them.
cmake/functions.cmake, line 13 at r3 (raw file):
Previously, janekmi (Jan Michalski) wrote…
Not used.
Removed
cmake/functions.cmake, line 67 at r3 (raw file):
Previously, janekmi (Jan Michalski) wrote…
cpp
Renamed to add_cstyle
cmake/librpma.pc.in, line 8 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
👍
Requires:
- libibverbs
- librdmacm
Done.
cmake/packages.cmake, line 44 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
.
Done.
cmake/packages.cmake, line 50 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
.
Done.
doc/librpma.7.md, line 7 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
0.1 at best. ;-)
Done.
doc/librpma.Doxyfile.in, line 109 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
Can you refer the doxy documentation on it? I do not know it is right either way.
http://www.doxygen.nl/manual/config.html
"Each statement consists of a TAG_NAME written in capitals, followed by the equal sign (=) and one or more values. If the same tag is assigned more than once, the last assignment overwrites any earlier assignment. For tags that take a list as their argument, the += operator can be used instead of = to append new values to the list. Values are sequences of non-blanks. "
doc/librpma.Doxyfile.in, line 183 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
👍
We can test it later:
http://www.doxygen.nl/manual/config.html#cfg_generate_man
GENERATE_MAN
If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for classes and files.
The default value is: NO.
doc/librpma.Doxyfile.in, line 1 at r2 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
Yes.
Done.
examples/CMakeLists.txt, line 7 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
No Windows here.
Done.
examples/CMakeLists.txt, line 37 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
Includes should be stored only in the include directory.
Please remove src from here.
Done.
examples/CMakeLists.txt, line 43 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
You are saying cppstyle is an equivalent of cstyle?
Yes. I renamed it to cstyle
examples/CMakeLists.txt, line 57 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
No libpmem here.
Done.
examples/CMakeLists.txt, line 67 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
I guess we do not need it.
Removed
examples/template-example/CMakeLists.txt, line 7 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
CXX niet.
Done.
examples/template-example/CMakeLists.txt, line 13 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
No Windows here.
Removed
examples/template-example/CMakeLists.txt, line 23 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
c
pp
Done.
examples/template-example/README, line 1 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
remove.
Done.
examples/template-example/README, line 3 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
This is examples/template-example/README.
Done.
src/CMakeLists.txt, line 23 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
no pmem here/
Done.
src/sys/queue.h, line 1 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
queue.h in pmdk was needed because of Windows, are you going to support it in rpma?
Removed
tests/memcheck-stdcpp.supp, line 11 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
No CPP here. You can remove.
PMDK uses this file.
tests/cmake/ctest_helpers.cmake, line 42 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
.
It can be needed later in examples.
tests/cmake/ctest_helpers.cmake, line 126 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
.
It can be needed later in examples.
tests/cmake/run_default.cmake, line 12 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
It does not look right.
I'm not an expert but... in other projects this file is in tests/ directory as well as helpers.cmake.
I think paths here are messed up.
Done.
utils/cppstyle, line 46 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
We do not plan to have a c++ code here. I think we can get rid of it.
I propose to use clang-format instead of PMDK's cstyle perl script. utils/cppstyle script is a wrapper for clang-format.
I can change it name to cstyle :-)
utils/check_license/check-headers.sh, line 69 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
I have found in this line a difference comparing to what is available on PMDK.
It looks like small improvements/fixes. Do you know why it is not present also on PMDK?
Because I added it here - it is needed only in repos with no merge commits
utils/check_license/check-ms-license.pl, line 1 at r2 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
this file shouldn't be needed at all
Removed
utils/check_license/file-exceptions.sh, line 7 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
$
?
Removed
utils/docker/build.sh, line 44 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
- in CMake you have "0.2", make it consistent, I believe
- you're missing this "0.1" prefix in other places (perhaps not only in this but also in other file(s) )
Done.
utils/docker/prepare-for-build.sh, line 4 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
2020
Done.
utils/docker/pull-or-rebuild-image.sh, line 12 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
as mentioned in prev. comment - missing "0.1" prefix
It is not needed here
utils/docker/run-build.sh, line 79 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
this is redundant I believe
Removed
utils/docker/run-build.sh, line 19 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
CPP?
Done.
utils/docker/run-build.sh, line 93 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
.
Done.
utils/docker/run-coverity.sh, line 4 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
.
Done.
utils/docker/run-doc-update.sh, line 41 at r2 (raw file):
Previously, janekmi (Jan Michalski) wrote…
cpp?
c_html
utils/docker/images/Dockerfile.fedora-31, line 12 at r4 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
definitely not me
Grom
utils/docker/images/Dockerfile.fedora-31, line 49 at r4 (raw file):
Previously, janekmi (Jan Michalski) wrote…
.
I will check it
utils/docker/images/Dockerfile.ubuntu-19.10, line 12 at r3 (raw file):
Previously, janekmi (Jan Michalski) wrote…
@grom72 @marcinslusarz: any candidates to take this place?
Grom
utils/docker/images/Dockerfile.ubuntu-19.10, line 48 at r3 (raw file):
Previously, janekmi (Jan Michalski) wrote…
We are really using all of this?
I will check
utils/docker/images/install-pmdk.sh, line 34 at r3 (raw file):
Previously, janekmi (Jan Michalski) wrote…
You have skipped pmreorder intenionally?
Added
utils/docker/images/push-image.sh, line 45 at r3 (raw file):
Previously, janekmi (Jan Michalski) wrote…
All these version strings are typed by hand everywhere in our repos, really?
Really :-)
utils/docker/images/README.md, line 22 at r1 (raw file):
Previously, janekmi (Jan Michalski) wrote…
CXX?
Removed
utils/md2man/default.man, line 21 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
2019?
2020
utils/md2man/md2man.sh, line 4 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
I guess this script is a bit older than just 2020 ;)
2016-2020
a5e08e6
to
ab7a234
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 36 of 64 files reviewed, 62 unresolved discussions (waiting on @grom72, @janekmi, @lukaszstolarczuk, and @marcinslusarz)
utils/docker/build.sh, line 67 at r1 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
consider the latest changes (already to include 'valid branches', see e.g. pmem/libpmemobj-cpp#656 )
Done.
ab7a234
to
b42a984
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 13 of 35 files at r5.
Reviewable status: 46 of 65 files reviewed, 31 unresolved discussions (waiting on @janekmi, @lukaszstolarczuk, and @marcinslusarz)
utils/docker/images/push-image.sh, line 45 at r3 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
Really :-)
x-D
@marcinslusarz, it does not look good. Do you have any comments on this?
b42a984
to
48b8bef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 45 of 64 files reviewed, 30 unresolved discussions (waiting on @janekmi, @lukaszstolarczuk, and @marcinslusarz)
tests/memcheck-stdcpp.supp, line 11 at r4 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
PMDK uses this file.
Removed
9bc7cd1
to
48b8bef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 76 files at r1, 16 of 35 files at r5, 4 of 4 files at r6, 1 of 1 files at r7.
Reviewable status: 61 of 64 files reviewed, 30 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
.clang-format, line 34 at r7 (raw file):
SpacesInContainerLiterals: false SpacesInCStyleCastParentheses: false UseTab: Always
ColumnLimit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 61 of 64 files reviewed, 30 unresolved discussions (waiting on @janekmi, @lukaszstolarczuk, and @marcinslusarz)
.clang-format, line 34 at r7 (raw file):
ColumnLimit
What value?
pmemkv has: ColumnLimit: 90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 61 of 64 files reviewed, 30 unresolved discussions (waiting on @janekmi, @lukaszstolarczuk, and @marcinslusarz)
utils/docker/images/push-image.sh, line 45 at r3 (raw file):
Previously, janekmi (Jan Michalski) wrote…
x-D
@marcinslusarz, it does not look good. Do you have any comments on this?
x-D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 61 of 64 files reviewed, 30 unresolved discussions (waiting on @janekmi, @ldorau, @lukaszstolarczuk, and @marcinslusarz)
.clang-format, line 34 at r7 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
ColumnLimit
What value?
pmemkv has:ColumnLimit: 90
90 is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 64 of 66 files reviewed, 7 unresolved discussions (waiting on @janekmi, @lukaszstolarczuk, and @marcinslusarz)
utils/check-commit.sh, line 7 at r17 (raw file):
Previously, janekmi (Jan Michalski) wrote…
RPMA?
Done.
utils/check-commits.sh, line 7 at r17 (raw file):
Previously, janekmi (Jan Michalski) wrote…
RPMA?
Done.
ea5160c
to
af1d106
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 21 files at r3, 1 of 4 files at r6, 1 of 5 files at r8, 3 of 13 files at r16, 2 of 7 files at r17, 1 of 1 files at r18, 2 of 2 files at r19.
Reviewable status: 65 of 66 files reviewed, 8 unresolved discussions (waiting on @janekmi, @ldorau, and @marcinslusarz)
.clang-format, line 1 at r19 (raw file):
AccessModifierOffset: -8
this file should be deleted then, I guess
cmake/FindLIBPMEM.cmake, line 12 at r19 (raw file):
set(LIBPMEM_INCLUDE_DIRS ${LIBPMEM_INCLUDE_DIR}) set(MSG_NOT_FOUND "libpmem NOT found (set CMAKE_PREFIX_PATH to point the location)")
to point to
(?)
utils/check-commit.sh, line 45 at r19 (raw file):
commit_len=$(git log --format="%s%n%b" -n 1 $1 | wc -L) if [ $commit_len -gt 73 ]; then
gt
-> ge
?
utils/check-commits.sh, line 14 at r19 (raw file):
if [ -z "$1" ]; then # on Travis run this check only for pull requests if [ -n "$TRAVIS_REPO_SLUG" ]; then
Travis only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 65 of 66 files reviewed, 8 unresolved discussions (waiting on @janekmi, @lukaszstolarczuk, and @marcinslusarz)
.clang-format, line 1 at r19 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
this file should be deleted then, I guess
Done.
cmake/FindLIBPMEM.cmake, line 12 at r19 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
to point to
(?)
No
utils/check-commit.sh, line 45 at r19 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
gt
->ge
?
This file is imported from PMDK
utils/check-commits.sh, line 14 at r19 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
Travis only?
This file is imported from PMDK
e526b1e
to
7c7d5ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 76 files at r1, 2 of 21 files at r3, 1 of 35 files at r5, 1 of 4 files at r6, 3 of 9 files at r10, 2 of 13 files at r16, 2 of 3 files at r20.
Reviewable status: 64 of 65 files reviewed, 7 unresolved discussions (waiting on @janekmi, @ldorau, and @marcinslusarz)
utils/check-commit.sh, line 45 at r19 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
This file is imported from PMDK
so? the message says commit message exceeds 72 chars
this seems to be displayed when $commit_len > 73
not $commit_len >= 73
which seems incorrect to me...
utils/check-commits.sh, line 14 at r19 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
This file is imported from PMDK
so? we still might have an issue there ;)
on GHA we execute this for all kind of events...? (unless GHA does not recognize these events at all)
utils/docker/images/Dockerfile.fedora-31, line 55 at r20 (raw file):
&& dnf clean all # Install valgrind
you can add already the "SKIP_*" flags, if you want to run these builds (in some future) on our QB CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r19, 2 of 3 files at r20.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @ldorau, @lukaszstolarczuk, and @marcinslusarz)
utils/check-commit.sh, line 45 at r19 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
so? the message says
commit message exceeds 72 chars
this seems to be displayed when$commit_len > 73
not$commit_len >= 73
which seems incorrect to me...
I think we have to investigate this issue and fix in all repos according to the result.
@lukaszstolarczuk please create an issue report on PMDK repo. RPMA will align. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @ldorau, @lukaszstolarczuk, and @marcinslusarz)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 76 files at r1, 1 of 21 files at r3, 2 of 35 files at r5, 4 of 9 files at r10, 2 of 3 files at r11, 9 of 13 files at r16, 4 of 7 files at r17, 2 of 2 files at r19, 3 of 3 files at r20.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @ldorau and @lukaszstolarczuk)
CMakeLists.txt, line 105 at r20 (raw file):
pkg_check_modules(LIBPMEM REQUIRED libpmem>=${LIBPMEM_REQUIRED_VERSION}) endif() endif()
I think we should stop configuration when !PKG_CONFIG_FOUND
CMakeLists.txt, line 130 at r20 (raw file):
if(DEVELOPER_MODE) add_flag(-Werror) execute_process(COMMAND ${PERL_EXECUTABLE} -MText::Diff -e ""
this was needed for "cstyle over clang-format", which you no longer use
I think perl>5.16 check was also for that.
cmake/FindLIBPMEM.cmake, line 1 at r20 (raw file):
#
you should not need this file
utils/check-commit.sh, line 45 at r19 (raw file):
Previously, janekmi (Jan Michalski) wrote…
I think we have to investigate this issue and fix in all repos according to the result.
@lukaszstolarczuk please create an issue report on PMDK repo. RPMA will align. :-)
pretty please leave it as is ;)
utils/docker/images/Dockerfile.fedora-31, line 44 at r20 (raw file):
ENV RPMA_DEPS "\ cmake \ perl-Text-Diff \
shouldn't be needed
utils/docker/images/Dockerfile.ubuntu-19.10, line 47 at r20 (raw file):
libibverbs-dev \ librdmacm-dev \ libtext-diff-perl"
shouldn't be needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @ldorau and @lukaszstolarczuk)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @ldorau, @lukaszstolarczuk, and @marcinslusarz)
CMakeLists.txt, line 105 at r20 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
I think we should stop configuration when !PKG_CONFIG_FOUND
Done.
CMakeLists.txt, line 130 at r20 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
this was needed for "cstyle over clang-format", which you no longer use
I think perl>5.16 check was also for that.
Removed
cmake/FindLIBPMEM.cmake, line 1 at r20 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
you should not need this file
Removed
utils/check-commit.sh, line 45 at r19 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
pretty please leave it as is ;)
Left as was :-)
utils/docker/images/Dockerfile.fedora-31, line 44 at r20 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
shouldn't be needed
Removed
utils/docker/images/Dockerfile.ubuntu-19.10, line 47 at r20 (raw file):
Previously, marcinslusarz (Marcin Ślusarz) wrote…
shouldn't be needed
Removed
7c7d5ce
to
1a7871b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 59 of 64 files reviewed, 6 unresolved discussions (waiting on @janekmi, @lukaszstolarczuk, and @marcinslusarz)
utils/check-commits.sh, line 14 at r19 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
so? we still might have an issue there ;)
on GHA we execute this for all kind of events...? (unless GHA does not recognize these events at all)
... so I wanted to stay in sync with PMDK repo and fix it later in both repos in the same time ...
utils/docker/images/Dockerfile.fedora-31, line 55 at r20 (raw file):
Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…
you can add already the "SKIP_*" flags, if you want to run these builds (in some future) on our QB CI
Done.
1a7871b
to
f2d059c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 6 files at r21.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @lukaszstolarczuk and @marcinslusarz)
utils/check-commits.sh, line 14 at r19 (raw file):
Previously, ldorau (Lukasz Dorau) wrote…
... so I wanted to stay in sync with PMDK repo and fix it later in both repos in the same time ...
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @lukaszstolarczuk and @marcinslusarz)
utils/check-commits.sh, line 14 at r19 (raw file):
Previously, janekmi (Jan Michalski) wrote…
👍
Will be fixed later in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 6 files at r21.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @marcinslusarz)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @marcinslusarz)
f2d059c
to
f8605cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 6 files at r21, 1 of 1 files at r22.
Reviewable status:complete! all files reviewed, all discussions resolved
tools: perf: dev: DRAM figures
It fixes the following valgrind issue: ==34690== Syscall param write(buf) points to uninitialised byte(s) ==34690== at 0x497F1E7: write (write.c:26) ==34690== by 0x4A893B4: rdma_resolve_addr2 (cma.c:961) ==34690== by 0x4A89575: rdma_resolve_addr (cma.c:985) ==34690== by 0x4854A84: rpma_info_resolve_addr (info.c:127) ==34690== by 0x48520EC: rpma_conn_req_new (conn_req.c:421) ==34690== by 0x1094BB: main (client.c:67) ==34690== Address 0x1ffefff7ac is on thread 1's stack ==34690== in frame #1, created by rdma_resolve_addr2 (cma.c:947) ==34690== ==34690== Syscall param write(buf) points to uninitialised byte(s) ==34690== at 0x497F1E7: write (write.c:26) ==34690== by 0x4A896A8: rdma_resolve_route (cma.c:1048) ==34690== by 0x485210A: rpma_conn_req_new (conn_req.c:426) ==34690== by 0x1094BB: main (client.c:67) ==34690== Address 0x1ffefff94c is on thread 1's stack ==34690== in frame #1, created by rdma_resolve_route (cma.c:1032
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)