]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Improve log message which isn't about a particular shard
authorDavid Zafman <dzafman@redhat.com>
Fri, 18 Dec 2015 02:04:08 +0000 (18:04 -0800)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Fri, 29 Jan 2016 09:40:37 +0000 (15:10 +0530)
Remove redundant dout()

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit e85907fcc582922925609f595f68c597a88c39dc)

src/osd/PGBackend.cc

index f42e6bee02ed26de69a47bc953bab4cbf51ef3ac..2da678ec8d3eef5bb317d720e25a2a15264653e0 100644 (file)
@@ -568,10 +568,9 @@ void PGBackend::be_compare_scrubmaps(
       be_select_auth_object(*k, maps, okseed, &auth_oi);
     list<pg_shard_t> 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);