]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os: lower debug level of i/o to "debug"
authorKefu Chai <kchai@redhat.com>
Tue, 2 Apr 2019 06:21:05 +0000 (14:21 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 Apr 2019 06:25:24 +0000 (14:25 +0800)
for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/cyan_store.cc

index d0d7d6acbd82572f5c6bee32f4844d49d9126625..0cb7160a57a130f314b233fe6a7eab5a2ab7d858 100644 (file)
@@ -133,7 +133,7 @@ seastar::future<bufferlist> 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<ceph::bufferptr> 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<ceph::bufferptr> CyanStore::get_attr(CollectionRef c,
 seastar::future<CyanStore::attrs_t> 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<std::string>&& 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());