mds: blocklist clients with "bloated" session metadata
Buggy clients (or maybe a MDS bug) causes a huge buildup of
`completed_requests` metadata in its session information.
This could cause the MDS to go read-only when its flushing
session metadata to the journal since the bloated metadata
causes the ODSOp payload to exceed the maximum write size.
Blocklist such clients so as to allow the MDS to continue
servicing requests.
Fixes: http://tracker.ceph.com/issues/61947
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit
bc6814d72a9fbec9c41ed75aee2314666cfca34b)
Conflicts:
src/common/options/mds.yaml.in
src/mds/MDSRank.cc
Straight-forward conflict is mds.yaml.in due to missing configs in
reef and likewise in MDSRank.cc