]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: init started to 0 6107/head
authorSage Weil <sage@redhat.com>
Tue, 29 Sep 2015 14:44:08 +0000 (10:44 -0400)
committerSage Weil <sage@redhat.com>
Tue, 29 Sep 2015 14:44:08 +0000 (10:44 -0400)
Fixes: #13206
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index 0a890684321c54131a0f23faecbb0cd9ebed1cc4..a0cefe05f2e686bdd13adefef06daaa8a41be8a6 100644 (file)
@@ -7932,7 +7932,7 @@ void OSD::do_recovery(PG *pg, ThreadPool::TPHandle &handle)
     dout(20) << "  active was " << recovery_oids[pg->info.pgid] << dendl;
 #endif
     
-    int started;
+    int started = 0;
     bool more = pg->start_recovery_ops(max, handle, &started);
     dout(10) << "do_recovery started " << started << "/" << max << " on " << *pg << dendl;
     // If no recovery op is started, don't bother to manipulate the RecoveryCtx