]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: lower debug level on i/o path
authorKefu Chai <kchai@redhat.com>
Wed, 3 Apr 2019 08:10:23 +0000 (16:10 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Apr 2019 08:10:38 +0000 (16:10 +0800)
hopefully it can reduce the contribution of cpu cycles of
PG::wait_for_active()

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

index e16a07c1b42c63a26d481bbc70ca727233b5002f..4f6faf338d9c8c6b3457a613aea256cec0a8c214 100644 (file)
@@ -959,7 +959,7 @@ seastar::future<> PG::share_pg_info()
 
 seastar::future<> PG::wait_for_active()
 {
-  logger().info("wait_for_active: {}", pg_state_string(info.stats.state));
+  logger().debug("wait_for_active: {}", pg_state_string(info.stats.state));
   if (test_state(PG_STATE_ACTIVE)) {
     return seastar::now();
   } else {