]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Tue, 29 Jan 2019 23:16:30 +0000 (15:16 -0800)
commit7bf2f31abf069b9bafc52bc1478292bb8a6c71b8
tree5f67f42b0fbe17143bfd1ff56e1bf6387f2e3d9c
parent69efdaf6465c368795c0e564898a39baf34d09c2
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>
PendingReleaseNotes
src/common/options.cc
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSDaemon.cc