From d62716dd4ceb29032759bf84e864d214fe38a17c Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Thu, 23 May 2013 15:24:39 -0700 Subject: [PATCH] PG: reset timeout in _scan_list for each object, read chunk Signed-off-by: Samuel Just --- src/osd/PG.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index a419c68de17..6e8079dae5a 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3258,6 +3258,7 @@ void PG::_scan_list( for (vector::iterator p = ls.begin(); p != ls.end(); ++p, i++) { + handle.reset_tp_timeout(); hobject_t poid = *p; struct stat st; @@ -3277,6 +3278,7 @@ void PG::_scan_list( while ( (r = osd->store->read(coll, poid, pos, g_conf->osd_deep_scrub_stride, bl, true)) > 0) { + handle.reset_tp_timeout(); h << bl; pos += bl.length(); bl.clear();