Bug #45114
client: make cache shrinking callbacks available via libcephfs
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
libcephfs
Labels (FS):
Pull request ID:
Crash signature:
Description
ganesha's FSAL_CEPH holds references to libcephfs Inode objects but it doesn't have a way to respond to cache pressure. We need to be able to wire up the dentry_invalidate_cb, but it passes in the name field as a string reference. Convert it to pass separate char * and length args.
Related issues
History
#1 Updated by Jeff Layton 9 months ago
- Subject changed from client_dentry_callback_t is not usable for vanilla C applications to client: make cache shrinking callbacks available via libcephfs
...we'll also need to expose the callback setting routines in libcephfs as well (they're only settable today via class Client method).
#2 Updated by Patrick Donnelly 8 months ago
- Status changed from New to Triaged
- Target version set to v16.0.0
- Source set to Development
- Backport set to octopus
#3 Updated by Patrick Donnelly 8 months ago
- Status changed from Triaged to Pending Backport
#5 Updated by Wei-Chung Cheng 8 months ago
- Pull request ID set to 34596
#6 Updated by Nathan Cutler 8 months ago
- Status changed from Pending Backport to Resolved
- Backport deleted (
octopus)
#7 Updated by Patrick Donnelly 8 months ago
- Duplicates Feature #12334: nfs-ganesha: handle client cache pressure in NFS Ganesha FSAL added
#8 Updated by Patrick Donnelly 8 months ago
- Status changed from Resolved to Duplicate