From: David Zafman Date: Fri, 18 Dec 2015 02:04:08 +0000 (-0800) Subject: osd: Improve log message which isn't about a particular shard X-Git-Tag: v9.2.1~20^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9ff90acc3efdb1c5bdd23c8658e8692f2879231e;p=ceph.git osd: Improve log message which isn't about a particular shard Remove redundant dout() Signed-off-by: David Zafman (cherry picked from commit e85907fcc582922925609f595f68c597a88c39dc) --- diff --git a/src/osd/PGBackend.cc b/src/osd/PGBackend.cc index f42e6bee02ed..2da678ec8d3e 100644 --- a/src/osd/PGBackend.cc +++ b/src/osd/PGBackend.cc @@ -568,10 +568,9 @@ void PGBackend::be_compare_scrubmaps( be_select_auth_object(*k, maps, okseed, &auth_oi); list auth_list; if (auth == maps.end()) { - dout(10) << __func__ << ": unable to find any auth object" << dendl; ++shallow_errors; - errorstream << pgid << " shard " << j->first - << ": soid failed to pick suitable auth object\n"; + errorstream << pgid.pgid << " soid " << *k + << ": failed to pick suitable auth object\n"; continue; } auth_list.push_back(auth->first);