]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: limit maximum number of caps held by session
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 24 Jan 2019 22:23:08 +0000 (14:23 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 4 Mar 2019 17:19:18 +0000 (09:19 -0800)
commit40c662ee396c178f61cc494d332b0c8e0de99c52
tree46ccceaad121e6695b9494ded521cd77456953a3
parentec15663b6872b13e6f47469b76fc8dd4b37fb1ee
mds: limit maximum number of caps held by session

This is to prevent unsustainable situations where a client has so many
outstanding caps that a linear traversal/operation on the session's caps takes
unacceptable amounts of time.

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

Conflicts:
PendingReleaseNotes
src/mds/Server.cc
PendingReleaseNotes
src/common/options.cc
src/mds/MDSRank.cc
src/mds/Server.cc
src/mds/Server.h