Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blk: set libpmemblk as deprecated #5538

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Conversation

osalyk
Copy link
Contributor

@osalyk osalyk commented Feb 16, 2023

This change is Reviewable

@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Merging #5538 (42a1cb7) into master (2b4cd97) will decrease coverage by 0.27%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master    #5538      +/-   ##
==========================================
- Coverage   71.62%   71.36%   -0.27%     
==========================================
  Files         162      162              
  Lines       24274    24384     +110     
==========================================
+ Hits        17387    17401      +14     
- Misses       6887     6983      +96     

Copy link
Member

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 34 of 34 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @osalyk)


doc/libpmemblk/libpmemblk.7.md line 306 at r1 (raw file):

> NOTICE:
The **libpmemblk** library is deprecated since PMDK 1.12 release

1.13.0

Copy link
Contributor Author

@osalyk osalyk left a 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, 1 unresolved discussion (waiting on @lukaszstolarczuk)


doc/libpmemblk/libpmemblk.7.md line 306 at r1 (raw file):

Previously, lukaszstolarczuk (Łukasz Stolarczuk) wrote…

1.13.0

Done.

Copy link
Member

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

osalyk added a commit to osalyk/fio that referenced this pull request Feb 17, 2023
osalyk added a commit to osalyk/fio that referenced this pull request Feb 17, 2023
No further support or maintenance of the libpmemblk library is planned.
https://pmem.io/blog/2022/11/update-on-pmdk-and-our-long-term-support-strategy/
pmem/pmdk#5538

Signed-off-by: osalyk <oksana.salyk@intel.com>
Copy link
Contributor

@grom72 grom72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

Copy link
Contributor

@grom72 grom72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 33 of 34 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

Copy link
Contributor

@grom72 grom72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check enum pmempool_pool_type in libpmempool.h

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

Copy link
Contributor Author

@osalyk osalyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Reviewable status: 34 of 35 files reviewed, all discussions resolved (waiting on @grom72 and @lukaszstolarczuk)

@@ -33,7 +33,7 @@
*/

/*
* info_blk.c -- pmempool info command source file for blk pool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update src/tools/pmempool/info.c

@osalyk osalyk force-pushed the deprecated_blk branch 2 times, most recently from 6c2775c to ac22ccf Compare February 28, 2023 10:10
Copy link
Contributor Author

@osalyk osalyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Reviewable status: 33 of 55 files reviewed, all discussions resolved (waiting on @grom72 and @lukaszstolarczuk)

Copy link
Member

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Reviewed 1 of 1 files at r4, 22 of 22 files at r5, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2014-2022, Intel Corporation */
/* Copyright 2014-2023, Intel Corporation */

/*
* pmempool.c -- pmempool main source file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the blk function still does not display deprecated messages. The main help also does not provide this information.

Copy link
Contributor Author

@osalyk osalyk left a 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, 1 unresolved discussion (waiting on @wlemkows)


src/tools/pmempool/pmempool.c line 5 at r5 (raw file):

Previously, wlemkows (Weronika Lewandowska) wrote…

Using the blk function still does not display deprecated messages. The main help also does not provide this information.

Using attribute((deprecated())) we get information only during compilation.
Information about deprecated functions can be found in the help() and version() functions.

Copy link
Contributor

@grom72 grom72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 22 files at r5, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @wlemkows)

Copy link
Contributor

@grom72 grom72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 13 of 22 files at r5.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @wlemkows)

Libraries available in this repository:
- [libpmem](https://pmem.io/pmdk/libpmem/): provides low level persistent memory support.

- [libpmem2](https://pmem.io/pmdk/libpmem2/): provides low level persistent memory support, is a new version of libpmem.

- [libpmemobj](https://pmem.io/pmdk/libpmemobj/): provides a transactional object store, providing memory allocation, transactions, and general facilities for persistent memory programming.

- [libpmemblk](https://pmem.io/pmdk/libpmemblk/): supports arrays of pmem-resident blocks, all the same size, that are atomically updated.
- [libpmemblk](https://pmem.io/pmdk/libpmemblk/): supports arrays of pmem-resident blocks, all the same size, that are atomically updated. (DEPRECATED)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put NOTICE here, under libpmemblk line.

# NOTE #

> NOTICE:
The **libpmemblk** library is deprecated since PMDK 1.13.0 release.
Copy link
Contributor

@wlemkows wlemkows Mar 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And btt is deprecated (because of line 78)

Copy link
Contributor

@wlemkows wlemkows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r6, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @osalyk)

Copy link
Contributor Author

@osalyk osalyk left a 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, 2 unresolved discussions (waiting on @wlemkows)


README.md line 55 at r6 (raw file):

Previously, wlemkows (Weronika Lewandowska) wrote…

Please put NOTICE here, under libpmemblk line.

Done.


doc/pmempool/pmempool-info.1.md line 37 at r6 (raw file):

Previously, wlemkows (Weronika Lewandowska) wrote…

And btt is deprecated (because of line 78)

Done.

Code quote:

The **libpmemblk** library is deprecated since PMDK 1.13.0 release.

Copy link
Contributor

@wlemkows wlemkows left a 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 r7, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

Copy link
Member

@lukaszstolarczuk lukaszstolarczuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 3 files at r6, 2 of 2 files at r7, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @osalyk)

@wlemkows wlemkows merged commit 85d1cdb into pmem:master Mar 14, 2023
vincentkfu pushed a commit to vincentkfu/fio that referenced this pull request Mar 23, 2023
No further support or maintenance of the libpmemblk library is planned.
https://pmem.io/blog/2022/11/update-on-pmdk-and-our-long-term-support-strategy/
pmem/pmdk#5538

Signed-off-by: osalyk <oksana.salyk@intel.com>
janekmi added a commit to janekmi/pmdk that referenced this pull request May 21, 2024
Signed-off-by: Jan Michalski <jan.michalski@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants