Project

General

Profile

Feature #9659

MDS: support cache eviction

Added by Greg Farnum over 6 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Testing
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS, qa-suite
Labels (FS):
Pull request ID:

Description

It would be really useful when writing certain kinds of tests (eg, for scrubbing) to be able to know that a particular dentry definitely is or is not in the cache. It's fairly easy to get things in the cache, but almost impossible to know you've gotten them out.

Implement code that will revoke any client capabilities on a dentry (or, for a folder, any dentries in its hierarchy!) and then dump it out of the MDS cache.


Related issues

Duplicates CephFS - Feature #23362: mds: add drop_cache command Resolved 03/14/2018

History

#1 Updated by Greg Farnum over 4 years ago

  • Category changed from 47 to Introspection/Control

#2 Updated by Greg Farnum over 4 years ago

  • Category changed from Introspection/Control to Testing
  • Component(FS) MDS, qa-suite added

#3 Updated by Patrick Donnelly over 2 years ago

#4 Updated by Patrick Donnelly over 2 years ago

  • Status changed from New to Duplicate

Also available in: Atom PDF