Project

General

Profile

Actions

Feature #3575

open

ceph-fuse: Add support for forget_multi

Added by Sam Lang over 11 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Performance/Resource Usage
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, ceph-fuse
Labels (FS):
Pull request ID:

Description

A new function in fuse (as of 2.9) supports dropping multiple inodes from the cache in one upcall.


Related issues 1 (0 open1 closed)

Related to CephFS - Feature #3289: ceph-fuse: somehow exert pressure on the VFS to remove dentries from the cacheResolved10/11/2012

Actions
Actions #1

Updated by Sage Weil over 11 years ago

  • Description updated (diff)

yay! i think this is the answer to #3289.
actually, i think the normal invalidate will work too, one inode at a time..

Actions #2

Updated by Greg Farnum almost 8 years ago

  • Assignee deleted (Sam Lang)
Actions #3

Updated by Zheng Yan almost 8 years ago

  • Priority changed from Normal to Low

If there is not forget_multi() callback, libfuse calls the forget() callback in a loop. I don't think implementing forget_multi callback makes any difference.

Actions #4

Updated by Greg Farnum almost 8 years ago

Hmm, doesn't the syscall overhead make enough of a difference to be noticeable in some of our bigger invalidate ops?

Actions #5

Updated by Zheng Yan almost 8 years ago

the kernel sends forget_multi request to libfuse even we don't provide the forget_multi callback.

Actions #6

Updated by Greg Farnum almost 8 years ago

  • Category changed from 45 to Performance/Resource Usage
  • Component(FS) Client, ceph-fuse added
Actions

Also available in: Atom PDF