]> 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>
Thu, 15 Nov 2018 09:15:13 +0000 (14:45 +0530)
commitf160bd2823160f025bc06357b4cb8ef4b9bc2384
treeb2804a3af477b0bda6d3b20a868700cadd3c85af
parent9dddf2a221ae361a60b303a33a8d740265b04311
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