ceph.spec.in, debian/rules: enable rbd-rwl-cache by default only on x86_64#41998
ceph.spec.in, debian/rules: enable rbd-rwl-cache by default only on x86_64#41998tchaikov merged 2 commits intoceph:masterfrom
Conversation
c3ff46b to
c298dfb
Compare
|
@kevinzs2048 could you remove "pacific: " from the title of the commit message. and add right before your Signed-off-by line. please see the output of
in the commit message. |
c298dfb to
417e97c
Compare
|
@tchaikov Thanks for the comments. Done |
|
jenkins test make check |
5161eac to
a1c3e81
Compare
ceph.spec.in
Outdated
| %elifarch aarch64 | ||
| %bcond_without lttng | ||
| %bcond_with rbd_rwl_cache | ||
| %bcond_without rbd_ssd_cache |
There was a problem hiding this comment.
No problem with disabling the rwl mode by default on aarch64, but I don't understand why the ssd mode gets special treatment in the spec file. IIRC it doesn't depend on PMDK or any other libraries, so I think should be enabled by default regardless of the architecture and distribution.
There was a problem hiding this comment.
i will rebase this PR once #42006 gets merged (if it is approved).
There was a problem hiding this comment.
I approved #42006. For this PR, I think we should move rbd_rwl_cache manipulation to the top level because the architectures that it is supported on (x86_64 ppc64le) are the same for Fedora/RHEL and SUSE.
There was a problem hiding this comment.
@idryomov agreed.
@kevinzs2048 could you rebase on top of my change and address Ilya's comment?
|
@tchaikov Do you see a problem with a single |
unlike rbd_rwl_cache, rbd_ssd_cache does not depend on pmdk (libpmem), so let's enable it on all supported architecture and rpm based distros. Signed-off-by: Kefu Chai <kchai@redhat.com>
|
@tchaikov What about deb packages? I see unconditional in |
ahh, right! we should conditionalize |
a1c3e81 to
2bcb3bd
Compare
…pc64le set rwl cache option on arm64 and ppc64le as PMDK is not well supported. Currently, only 64-bit Linux* and Windows* on x86 are supported PMDK Reference: 1. Experimental support on Arm64, but lacking of librpmem: See: https://github.com/pmem/pmdk#experimental-support-for-64-bit-arm 2. No RPM for PMDK on Arm64: See: https://bugzilla.redhat.com/show_bug.cgi?id=1340635 3. > Does PMDK support ARM64*? > Currently only 64-bit Linux* and Windows* on x86 are supported. See: https://software.intel.com/content/www/us/en/develop/articles/persistent-memory-faq.html 4. Make check fail on Arm64 See: pmem/pmdk#5255 Fixes: https://tracker.ceph.com/issues/51339 Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
16c0843 to
8c7729a
Compare
|
this changeset includes #42006 |
I see the note about AArch64 support being highly experimental (https://github.com/pmem/pmdk/blob/master/README.md#experimental-packages) but nothing about POWER. Can you share a link? |
|
@idryomov please see the commit message, in which https://software.intel.com/content/www/us/en/develop/articles/persistent-memory-faq.html is referenced. if you search "Does PMDK support ARM64" in that web page, you could find following answer
which is also quoted in the commit message. |
|
Ah, I thought there might be some sort of architecture support status table in the repo going into more detail and didn't realize that that sentence was all there is. I see that a number of test cases are blocklisted on ppc64 though, so it is probably right. |
|
I assume the plan is to merge #42006 and then rebase this PR so that there is only a single commit? |
either way, probably it's simpler to just merge this one so we save a merge commit. |
set rwl cache option on arm64 as PMDK is not well supported
Currently, PMDK is not well supported on Arm64. The PMDK make check can not pass, and librpmem(remote persist memory lib) is not enabled on Arm64.
So in Ceph we can make it optional and wait for PMDK changes on Arm64
Tracker Link: https://tracker.ceph.com/issues/51339
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox