From: xie xingguo Date: Sat, 24 Sep 2016 02:55:34 +0000 (+0800) Subject: os/bluestore: promote output to derr on catching bad/stray objects X-Git-Tag: v11.0.1~96^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=847935831a8c8fba237d90419968a6234c80abe3;p=ceph.git os/bluestore: promote output to derr on catching bad/stray objects Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index ed894cf27e41..72fde89d5ae2 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -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; }