]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
os/bluestore: promote output to derr on catching bad/stray objects
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 24 Sep 2016 02:55:34 +0000 (10:55 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 24 Sep 2016 02:55:34 +0000 (10:55 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc

index ed894cf27e4171e5c2d7ca3c49a86174799d5ee5..72fde89d5ae2a86b165b1605f2a98572d35e25e5 100644 (file)
@@ -3963,8 +3963,8 @@ int BlueStore::fsck()
       }
       int r = get_key_object(it->key(), &oid);
       if (r < 0) {
-       dout(30) << __func__ << "  bad object key "
-                << pretty_binary_string(it->key()) << dendl;
+        derr << __func__ << "  bad object key "
+             << pretty_binary_string(it->key()) << dendl;
        ++errors;
        continue;
       }
@@ -3983,8 +3983,8 @@ int BlueStore::fsck()
          }
        }
        if (!c) {
-         dout(30) << __func__ << "  stray object " << oid
-                  << " not owned by any collection" << dendl;
+          derr << __func__ << "  stray object " << oid
+               << " not owned by any collection" << dendl;
          ++errors;
          continue;
        }