]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: lower some log's level in gc process. 15426/head
authorZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Fri, 2 Jun 2017 06:54:29 +0000 (14:54 +0800)
committerZhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Fri, 2 Jun 2017 06:57:25 +0000 (14:57 +0800)
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
src/rgw/rgw_gc.cc

index 6db1405282b56f1e6f9370f8c9a0aaa470476417..d0ad9011ac043de2758496fa354e6046ae1b8622 100644 (file)
@@ -151,7 +151,7 @@ int RGWGC::process(int index, int max_secs)
 
   int ret = l.lock_exclusive(&store->gc_pool_ctx, obj_names[index]);
   if (ret == -EBUSY) { /* already locked by another gc processor */
-    dout(0) << "RGWGC::process() failed to acquire lock on " << obj_names[index] << dendl;
+    dout(10) << "RGWGC::process() failed to acquire lock on " << obj_names[index] << dendl;
     return 0;
   }
   if (ret < 0)
@@ -203,7 +203,7 @@ int RGWGC::process(int index, int max_secs)
 
         const string& oid = obj.key.name; /* just stored raw oid there */
 
-       dout(0) << "gc::process: removing " << obj.pool << ":" << obj.key.name << dendl;
+       dout(5) << "gc::process: removing " << obj.pool << ":" << obj.key.name << dendl;
        ObjectWriteOperation op;
        cls_refcount_put(op, info.tag, true);
         ret = ctx->operate(oid, &op);