]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
MDCache: add a scrub_dentry() function, and wire it up to the admin socket
authorGreg Farnum <greg@inktank.com>
Fri, 11 Jul 2014 22:20:32 +0000 (15:20 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 7 Nov 2014 20:42:14 +0000 (12:42 -0800)
commit515ab2d5870bfdd9440c5c165489e86c73aafb74
tree46a13d63b6156e2973b118668808b45cb7459fb8
parentfa75434faf502ba4fc395d55b4c2eda4775eb567
MDCache: add a scrub_dentry() function, and wire it up to the admin socket

scrub_dentry() is passed a string path, and it validates it before replying. We
hook up an admin socket command "scrub_path" to call it and dump the output.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/include/ceph_fs.h
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDS.cc
src/mds/MDS.h