From: Sage Weil Date: Tue, 29 Sep 2015 14:44:08 +0000 (-0400) Subject: osd: init started to 0 X-Git-Tag: v10.0.0~121^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=469d35f2539617e6d3a41e8ea3d778d523bc0dac;p=ceph.git osd: init started to 0 Fixes: #13206 Signed-off-by: Sage Weil --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 0a890684321c5..a0cefe05f2e68 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -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