Project

General

Profile

Actions

Bug #45114

closed

client: make cache shrinking callbacks available via libcephfs

Added by Jeff Layton about 4 years ago. Updated almost 4 years 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 (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Is duplicate of CephFS - Feature #12334: nfs-ganesha: handle client cache pressure in NFS Ganesha FSALResolvedJeff Layton

Actions
Actions #1

Updated by Jeff Layton about 4 years 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).

Actions #2

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from New to Triaged
  • Target version set to v16.0.0
  • Source set to Development
  • Backport set to octopus
Actions #3

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Triaged to Pending Backport
Actions #5

Updated by Wei-Chung Cheng almost 4 years ago

  • Pull request ID set to 34596
Actions #6

Updated by Nathan Cutler almost 4 years 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
Actions #7

Updated by Patrick Donnelly almost 4 years ago

  • Is duplicate of Feature #12334: nfs-ganesha: handle client cache pressure in NFS Ganesha FSAL added
Actions #8

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Resolved to Duplicate
Actions

Also available in: Atom PDF