]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: command to trim mds cache and client caps
authorVenky Shankar <vshankar@redhat.com>
Sun, 26 Aug 2018 13:48:56 +0000 (09:48 -0400)
committerVenky Shankar <vshankar@redhat.com>
Fri, 28 Sep 2018 04:07:59 +0000 (00:07 -0400)
commitda70dde8aa23b0b24057089edaee4d6317f52bd4
treef9dbedb2a00ff29af2b228febe49c3909be48300
parent75f42340db0ee7263b0708675b8cdfda3bc78059
mds: command to trim mds cache and client caps

With this command, the MDS would request clients to release
caps followed by trimming its own cache and a journal flush.
The command accepts a timeout to wait for clients to respond
to session recall and flush messages.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/mds/MDCache.cc
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/Server.cc
src/mds/Server.h