Bug 1589967

Summary: [RFE] support to drop cache in MDS via `ceph tell`
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Patrick Donnelly <pdonnell>
Component: CephFSAssignee: Venky Shankar <vshankar>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: low Docs Contact: Bara Ancincova <bancinco>
Priority: high    
Version: 3.2CC: ceph-eng-bugs, ceph-qe-bugs, edonnell, hnallurv, kdreyer, pasik, vshankar
Target Milestone: rcKeywords: FutureFeature
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.8-14.el7cp Ubuntu: ceph_12.2.8-12redhat1 Doc Type: Enhancement
Doc Text:
.A new subcommand: `drop_cache` The `ceph tell` command now supports the `drop_cache` subcommand. Use this subcommand to drop Metadata Server (MDS) cache without restarting, trim its journal, and ask clients to drop all capabilities that are not in use.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-03 19:01:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1629656    

Description Patrick Donnelly 2018-06-11 18:24:53 UTC
This is a tell command which allows the MDS to drop its cache without restarting, trim its journal (so failover does not cause the cache to become warm from reading the journal), and ask clients to drop all caps not in use.

Comment 14 errata-xmlrpc 2019-01-03 19:01:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0020