]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add working set minimum for caps
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 6 Aug 2020 16:04:23 +0000 (09:04 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 7 Aug 2020 02:17:03 +0000 (19:17 -0700)
commit63392e1b65fbead6ef8c7acd6a70e6ef5b322390
tree7db37d785e88b21d247facbe09d8796f66665986
parentedc5c14d1cb194760f91dcdb0385007df32aef45
mds: add working set minimum for caps

A client may hold many inodes pinned in its cache for open files. That
client may be unable to release those caps to respond to cache pressure
from the MDS (or quiescent client cap recall). We should not complain if
that number of capabilities is reasonable (< 10k by default).

Fixes: https://tracker.ceph.com/issues/46830
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/options.cc
src/mds/Beacon.cc
src/mds/SessionMap.h