]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: implement 'dump cache' asok command 3750/head
authorJohn Spray <john.spray@redhat.com>
Tue, 17 Mar 2015 18:38:41 +0000 (18:38 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 19 Mar 2015 21:27:35 +0000 (21:27 +0000)
commit936e003c9545a5bf296f88f4ca630394b0c03d90
tree063a9257078ffd8ccf57acb279c4f0855765527c
parentabb4a73ac93487776d0814d6fc55ff93bd18040f
mds: implement 'dump cache' asok command

Retains old text format output when user specifies
a filename, else returns JSON.  JSON output will
cope less well with large caches, but will be more
useful for automated tests.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDS.cc