]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
config: Change bluestore_cache_kv_max to type INT64 20334/head
authorZhi Zhang <willzzhang@tencent.com>
Fri, 2 Feb 2018 08:02:05 +0000 (16:02 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 6 Feb 2018 06:42:07 +0000 (14:42 +0800)
commit442b9c6b5493f11df3bcb95b0465c5a4f61c9bce
tree818446025620861ac77a3d82d27dac7cfa0b8cc1
parent239b1ae5e19c16e976c2045fef5ad65f1f727278
config: Change bluestore_cache_kv_max to type INT64

If bluestore_cache_kv_max is negative, bluestore won't calculate meta
ratio and kv ratio automatically. So change the type from UINT to INT to
make this bluestore logic work.

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit a42a4d405c6543daaee795b48ebed176bc39dd91)
src/common/legacy_config_opts.h
src/common/options.cc