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
cmake: enable ndctl when building PMDK for WITH_BLUESTORE_PMEM #46260
Conversation
Hi @tchaikov , this pr passed part of output during do_cmake: |
my guess is that |
the detail output: https://gist.github.com/CongMinYin/db3c96be013f63df139f9674452782f9 |
383da22
to
4fe7386
Compare
take a look this pr: ceph/ceph-build#2011 |
Hi @tchaikov , thanks your guide. Now passed the local test. Please review. |
4fe7386
to
5180e83
Compare
ping @tchaikov |
5180e83
to
78502f3
Compare
9dfe5f6
to
a1693db
Compare
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
a1693db
to
080103b
Compare
rebased, ping @tchaikov |
I rebased to newest |
|
Because |
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
d29e407
to
646a1ef
Compare
Hi @idryomov , could you please also have a look at this PR? I want to separate the dependencies of |
ping @tchaikov |
646a1ef
to
268563e
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.
Also, please fold "cmake: add findndctl function" and "cmake: add finddaxctl function" into a single commit as they are really the same.
268563e
to
ca044df
Compare
ca044df
to
15a806c
Compare
jenkins test make check |
hi @idryomov , could you take another look? i think CongMin has addressed all of the comments. |
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.
Ack from the RBD perspective
In order to support the character device of pmem usage in bluestore via libpmem built by Ceph itself, we need to enable daxctl and ndctl dependency. add the installation of ndctl and find it. the version of ndctl and daxctl library requires >63. "apt-get install" meet the version under ubuntu focal. the installation of ndctl-devel in ceph.spec.in has not been verified. Signed-off-by: Yin Congmin <congmin.yin@intel.com>
In order to enable the pmem character device, add ndctl=y to the parameter of compiling the pmdk library when WITH_BLUESTORE_PMEM is ON. Because after find_ndctl and find_daxctl are added, the dependency packages required by WITH_BLUESTORE_PMEM and WITH_RBD_RWL become more different. So separated these two. libpmem has no version required. libpmemobj required version >=1.8. Signed-off-by: Yin Congmin <congmin.yin@intel.com>
15a806c
to
eb94cda
Compare
LGTM! |
jenkins test windows |
@tchaikov I'm going to run this through the part of the rbd suite that exercises |
hi Ilya, that should suffice. thank you! |
In order to support the character device of pmem usage in bluestore via
libpmem built by Ceph itself, we need to enable
daxctl
andndctl
dependency. And this PR is used to add
ndctl
anddaxctl
dependencywhen
WITH_BLUSE_STORE_PMEM
is ON.add the installation of ndctl and daxctl, then find them.
ndctl library requires >63. daxctl library requires >63.
Because after find_ndctl and find_daxctl are added, the dependency packages
required by
WITH_BLUESTORE_PMEM
andWITH_RBD_RWL
become more different.The
DWITH_RBD_RWL
option is turned on by default in some cases (see #39049),while
WITH_BLUESTORE_PMEM
is usually turned off by default. These two should not be put together.So separated these two. libpmem has no version required. libpmemobj
required version >=1.8.
the installation of ndctl-devel and daxctl-devel in ceph.spec.in has not been verified.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows