Project

General

Profile

Bug #45114

client: make cache shrinking callbacks available via libcephfs

Added by Jeff Layton 3 months ago. Updated about 1 month ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
% 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

Duplicates fs - Feature #12334: nfs-ganesha: handle client cache pressure in NFS Ganesha FSAL Resolved

History

#1 Updated by Jeff Layton 3 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 2 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 about 2 months ago

  • Status changed from Triaged to Pending Backport

#5 Updated by Wei-Chung Cheng about 2 months ago

  • Pull request ID set to 34596

#6 Updated by Nathan Cutler about 2 months ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (octopus)

backports will be handled via #12334 of which this appears to be a duplicate?

  • octopus backport issue: #45688

#7 Updated by Patrick Donnelly about 1 month ago

  • Duplicates Feature #12334: nfs-ganesha: handle client cache pressure in NFS Ganesha FSAL added

#8 Updated by Patrick Donnelly about 1 month ago

  • Status changed from Resolved to Duplicate

Also available in: Atom PDF