]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Revert "ceph_osd: remove client message cap limit" 35737/head
authorJosh Durgin <jdurgin@redhat.com>
Sat, 25 Jan 2020 00:36:56 +0000 (19:36 -0500)
committerNeha Ojha <nojha@redhat.com>
Wed, 24 Jun 2020 01:28:24 +0000 (01:28 +0000)
commitdb56b9cf800f00dd7896e236a35926c7420b3ea5
tree854cf7b8c9b767241780c9818079fc50c9f4e58f
parent5c9eee5a7ad1bb8b161f33b4560d5dfc4a000b6d
Revert "ceph_osd: remove client message cap limit"

This reverts commit 45d5ac3ea040d6a7213b63d1c582e3a1bbaae8d4.

Without a msg throttler, we can't change osd_client_message_cap cap.
The throttler is designed to work with 0 as a max, so change the
default to 0 to disable it by default instead.

This doesn't affect the default behavior, it only lets us use this
option again.

Fixes: https://tracker.ceph.com/issues/46143
Conflicts:
src/ceph_osd.cc - new style of gconf() access

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit 9087e3b751a78211011b39377394ceb297078f76)
src/ceph_osd.cc
src/common/options.cc