]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Tue, 29 Jan 2019 23:16:31 +0000 (15:16 -0800)
commit48ca097a9f537545b4b0c864ebb8c5e81d821098
tree005abb8c04f0b38399cdf0f525daa6ecf3f8e976
parent7244cae4b8b4455e6b66fcaa5299905c839bee24
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>
PendingReleaseNotes
src/common/options.cc
src/mds/MDSRank.cc
src/mds/Server.cc
src/mds/Server.h