From 847935831a8c8fba237d90419968a6234c80abe3 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Sat, 24 Sep 2016 10:55:34 +0800 Subject: [PATCH] os/bluestore: promote output to derr on catching bad/stray objects Signed-off-by: xie xingguo --- src/os/bluestore/BlueStore.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index ed894cf27e4..72fde89d5ae 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; } -- 2.39.5