Bug #49947
document supported architectures for PWL cache plugin
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When I build Ceph RPMs and disable WITH_RBD_RWL
and WITH_RBD_SSD_CACHE
, rbd still tries to dlopen the pwl cache lib. CMake did not build it, so rbd fails:
load failed dlopen(): "/usr/lib64/ceph/librbd/libceph_librbd_pwl_cache.so: cannot open shared object file: No such file or directory"
Unfortunately https://github.com/ceph/ceph/pull/40052 only enables the PWL cache on x86_64 and ppc64le, so this will happen on our s390x RPM builds.
History
#1 Updated by Ken Dreyer about 3 years ago
- Description updated (diff)
#2 Updated by Jason Dillaman about 3 years ago
"WITH_RBD_SSD_CACHE" should not require PMDK so it could be enabled. However, even if both are disabled, you have to opt-in to using the PWL cache library plugin.
#3 Updated by Ken Dreyer about 3 years ago
Ok, thanks. I see now the user docs explain this at https://docs.ceph.com/en/latest/rbd/rbd-persistent-write-back-cache .
I'll document that this will not work on s390x.
#4 Updated by Ken Dreyer about 3 years ago
- Subject changed from rbd dlopen failure when disabling WITH_RBD_RWL and WITH_RBD_SSD_CACHE to document supported architectures for PWL cache plugin
#5 Updated by Ken Dreyer about 3 years ago
- Pull request ID set to 40352
#6 Updated by Ilya Dryomov over 1 year ago
- Status changed from New to Fix Under Review
- Assignee set to Ilya Dryomov
- Pull request ID changed from 40352 to 48673
#7 Updated by Ilya Dryomov over 1 year ago
- Status changed from Fix Under Review to Resolved