]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add throttle for trimming MDCache
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 19 Jan 2019 00:18:59 +0000 (16:18 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 4 Mar 2019 17:19:17 +0000 (09:19 -0800)
commit5a09add4c5eeceeedc07aa604cfec98181d8d906
tree905c0831ab1e4f1d91ee2eaa7c9365816859e851
parent40bbd18e5db986262a8ebb4e02a192466bd0cf3d
mds: add throttle for trimming MDCache

This is necessary when the MDS cache size decreases by a significant amount.
For example, when stopping a large MDS or when the operator makes a large cache
size reduction.

Fixes: http://tracker.ceph.com/issues/37723
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 7bf2f31abf069b9bafc52bc1478292bb8a6c71b8)

Conflicts:
PendingReleaseNotes
src/common/options.cc
src/mds/MDCache.cc
src/mds/MDCache.h
PendingReleaseNotes
src/common/options.cc
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSDaemon.cc