summaryrefslogtreecommitdiffstats
path: root/src/osd/PG.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/PG.cc')
-rw-r--r--src/osd/PG.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc
index 307651fd627..cd7cad777bc 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -1278,7 +1278,6 @@ Scrub::schedule_result_t PG::start_scrubbing(
pg_cond.allow_deep =
!(get_osdmap()->test_flag(CEPH_OSDMAP_NODEEP_SCRUB) ||
pool.info.has_flag(pg_pool_t::FLAG_NODEEP_SCRUB));
- pg_cond.has_deep_errors = (info.stats.stats.sum.num_deep_scrub_errors > 0);
pg_cond.can_autorepair =
(cct->_conf->osd_scrub_auto_repair &&
get_pgbackend()->auto_repair_supported());