]> git-server-git.apps.pok.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>
Tue, 6 Nov 2018 11:34:23 +0000 (17:04 +0530)
commitc7bfdef494b1014d58cafe7a6ff5ff1fc2a01df2
tree6a78ceb2f65598d203e3ca5c7f569d58df1e6ff4
parent17e0c437e226fc42caea5a730eff848d53bf567b
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>
(cherry picked from commit da70dde8aa23b0b24057089edaee4d6317f52bd4)

 Conflicts:
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc
src/mds/Server.cc
src/mds/Server.h
src/mds/MDCache.cc
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/Server.cc
src/mds/Server.h