]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: allow osd_client_message_size throttle set to zero 40518/head
authorhaoyixing <haoyixing@kuaishou.com>
Wed, 31 Mar 2021 06:23:14 +0000 (06:23 +0000)
committerhaoyixing <haoyixing@kuaishou.com>
Wed, 31 Mar 2021 06:23:20 +0000 (06:23 +0000)
commitc64c4e85737186925760a76790258dfb2493b744
treee40bc9901a4fe588070c3309be33aa55fd09c5cf
parent6152076c225be886b195139edd3b1af7ad12641f
osd: allow osd_client_message_size throttle set to zero

Once we set osd_client_message_size_cap to non-zero, it cannot be set
back to zero unless we set conf file to 0 and restart the osd.
If we don't want to limit messages by throttle anymore, we have to set
a great number as upper bound. So allow it change to 0.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
src/osd/OSD.cc