]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: use a persistent queue for purging deleted files
authorJohn Spray <john.spray@redhat.com>
Thu, 1 Dec 2016 20:22:43 +0000 (20:22 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 8 Mar 2017 10:20:57 +0000 (10:20 +0000)
commit8ebf7d95a9071de24bb1e56a6423c505169cb4de
treebe4169c4362ae81e3a851c8f59b41b040e6c39ba
parent1b36be9850e0c30a62316bcb724de21101041660
mds: use a persistent queue for purging deleted files

To avoid creating stray directories of unbounded size
and all the associated pain, use a more appropriate
datastructure to store a FIFO of inodes that need
purging.

Fixes: http://tracker.ceph.com/issues/11950
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/CMakeLists.txt
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSRank.cc
src/mds/PurgeQueue.cc [new file with mode: 0644]
src/mds/PurgeQueue.h [new file with mode: 0644]
src/mds/StrayManager.cc
src/mds/StrayManager.h
src/mds/mdstypes.h