From: Sage Weil Date: Mon, 18 Jun 2018 21:56:58 +0000 (-0500) Subject: common/options: convert many TYPE_[U]INT -> TYPE_SIZE X-Git-Tag: v14.0.1~741^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F22607%2Fhead;p=ceph.git common/options: convert many TYPE_[U]INT -> TYPE_SIZE Note that the _cost options are in fact in units of bytes. Signed-off-by: Sage Weil --- diff --git a/src/ceph_osd.cc b/src/ceph_osd.cc index 86c5e7aea4b8c..3974792382fd7 100644 --- a/src/ceph_osd.cc +++ b/src/ceph_osd.cc @@ -518,7 +518,7 @@ flushjournal_out: << std::endl; uint64_t message_size = - g_conf().get_val("osd_client_message_size_cap"); + g_conf().get_val("osd_client_message_size_cap"); boost::scoped_ptr client_byte_throttler( new Throttle(g_ceph_context, "osd_client_bytes", message_size)); diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc index cc8c964330c04..6251d7d47153e 100644 --- a/src/client/fuse_ll.cc +++ b/src/client/fuse_ll.cc @@ -1103,7 +1103,7 @@ int CephFuse::Handle::init(int argc, const char *argv[]) "fuse_atomic_o_trunc"); auto fuse_debug = client->cct->_conf.get_val( "fuse_debug"); - auto fuse_max_write = client->cct->_conf.get_val( + auto fuse_max_write = client->cct->_conf.get_val( "fuse_max_write"); if (fuse_allow_other) { diff --git a/src/common/options.cc b/src/common/options.cc index 91f5c39a57cee..9c9ef5b4cf29a 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -760,23 +760,23 @@ std::vector