]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: limit number of caps inspected in caps_tick 2420/head 2492/head
authorJohn Spray <john.spray@redhat.com>
Wed, 10 Sep 2014 13:01:54 +0000 (14:01 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 15 Sep 2014 14:05:14 +0000 (15:05 +0100)
commita140439f85a64820c5a852c30115ef61929a7326
tree5a631273afb8ac4732e622ad6d89e108f51a5475
parentbf590f8a5df4f8199d524e3448853f0f6f8338c9
mds: limit number of caps inspected in caps_tick

This is to avoid hitting an O(caps) loop in the worst
cast scenario.  This mechanism is a little crude but
should be superceded at some point by admin socket
functionality to inspect session caps so that we
don't need to spit out this level of detail in logs.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/Locker.cc