]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add 2nd order recall throttle
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 19 Feb 2019 00:07:25 +0000 (16:07 -0800)
committerVenky Shankar <vshankar@redhat.com>
Thu, 4 Apr 2019 07:12:17 +0000 (03:12 -0400)
commite459c3ef8021937009a9975eaf385d2ff91399ab
treed5156d03bcd976614ae13e52cb7f98cac7f5ec0b
parent720bf868029d5592d9ed04d16fd453be757a369a
mds: add 2nd order recall throttle

Purpose of this is to moderate the ramp up of recalling caps on a session.  In
particular, we don't want to exhaust the mds_recall_max_decay_threshold within
a short amount of time. This would happen with cache drop on clients which are
trying to unpin dentries (via remount callbacks). The cache drop recall worker
context is driving new recalls in response to flush ACKs but no caps are being
released yet.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit aa6756d531445a03505f1a15e2f5d10ca10de697)

 Conflicts:
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SessionMap.h
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SessionMap.h