Project

General

Profile

Actions

Feature #9659

closed

MDS: support cache eviction

Added by Greg Farnum over 9 years ago. Updated almost 6 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 1 (0 open1 closed)

Is duplicate of CephFS - Feature #23362: mds: add drop_cache commandResolvedVenky Shankar03/14/2018

Actions
Actions #1

Updated by Greg Farnum almost 8 years ago

  • Category changed from 47 to Introspection/Control
Actions #2

Updated by Greg Farnum almost 8 years ago

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

Updated by Patrick Donnelly almost 6 years ago

Actions #4

Updated by Patrick Donnelly almost 6 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF