From: Kefu Chai Date: Tue, 2 Apr 2019 06:21:05 +0000 (+0800) Subject: crimson/os: lower debug level of i/o to "debug" X-Git-Tag: v15.0.0~12^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3a5a50c785e0938d146a2a7469950ffcd40f7837;p=ceph.git crimson/os: lower debug level of i/o to "debug" for better performance. Signed-off-by: Kefu Chai --- diff --git a/src/crimson/os/cyan_store.cc b/src/crimson/os/cyan_store.cc index d0d7d6acbd82..0cb7160a57a1 100644 --- a/src/crimson/os/cyan_store.cc +++ b/src/crimson/os/cyan_store.cc @@ -133,7 +133,7 @@ seastar::future CyanStore::read(CollectionRef c, size_t len, uint32_t op_flags) { - logger().info("{} {} {} {}~{}", + logger().debug("{} {} {} {}~{}", __func__, c->cid, oid, offset, len); if (!c->exists) { throw std::runtime_error(fmt::format("collection does not exist: {}", c->cid)); @@ -160,7 +160,7 @@ seastar::future CyanStore::get_attr(CollectionRef c, const ghobject_t& oid, std::string_view name) { - logger().info("{} {} {}", + logger().debug("{} {} {}", __func__, c->cid, oid); auto o = c->get_object(oid); if (!o) { @@ -177,7 +177,7 @@ seastar::future CyanStore::get_attr(CollectionRef c, seastar::future CyanStore::get_attrs(CollectionRef c, const ghobject_t& oid) { - logger().info("{} {} {}", + logger().debug("{} {} {}", __func__, c->cid, oid); auto o = c->get_object(oid); if (!o) { @@ -191,7 +191,7 @@ CyanStore::omap_get_values(CollectionRef c, const ghobject_t& oid, std::vector&& keys) { - logger().info("{} {} {}", + logger().debug("{} {} {}", __func__, c->cid, oid); auto o = c->get_object(oid); if (!o) { @@ -249,7 +249,7 @@ int CyanStore::_write(const coll_t& cid, const ghobject_t& oid, uint64_t offset, size_t len, const bufferlist& bl, uint32_t fadvise_flags) { - logger().info("{} {} {} {} ~ {}", + logger().debug("{} {} {} {} ~ {}", __func__, cid, oid, offset, len); assert(len == bl.length());