Feature #9659
MDS: support cache eviction
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
History
#1 Updated by Greg Farnum almost 5 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 almost 3 years ago
- Duplicates Feature #23362: mds: add drop_cache command added
#4 Updated by Patrick Donnelly almost 3 years ago
- Status changed from New to Duplicate