Project

General

Profile

Feature #9659

MDS: support cache eviction

Added by Greg Farnum almost 5 years ago. Updated about 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Testing
Target version:
-
Start date:
10/03/2014
Due date:
% 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 fs - Feature #23362: mds: add drop_cache command Resolved 03/14/2018

History

#1 Updated by Greg Farnum about 3 years ago

  • Category changed from 47 to Introspection/Control

#2 Updated by Greg Farnum about 3 years ago

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

#3 Updated by Patrick Donnelly about 1 year ago

#4 Updated by Patrick Donnelly about 1 year ago

  • Status changed from New to Duplicate

Also available in: Atom PDF