]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
OSDService::agent_entry: don't use PG::operator<< without pg lock 6121/head
authorSamuel Just <sjust@redhat.com>
Tue, 22 Sep 2015 18:44:18 +0000 (11:44 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 22 Sep 2015 18:44:20 +0000 (11:44 -0700)
Fixes: #13199
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/OSD.cc

index 0572410e3c51fa113baa045948c68d88be9401cc..9106d376059be167b040feafe6b5abfd2db08359 100644 (file)
@@ -543,7 +543,7 @@ void OSDService::agent_entry()
     dout(10) << "high_count " << flush_mode_high_count << " agent_ops " << agent_ops << " flush_quota " << agent_flush_quota << dendl;
     agent_lock.Unlock();
     if (!pg->agent_work(max, agent_flush_quota)) {
-      dout(10) << __func__ << " " << *pg
+      dout(10) << __func__ << " " << pg->get_pgid()
        << " no agent_work, delay for " << g_conf->osd_agent_delay_time
        << " seconds" << dendl;