From: Abhishek Lekshmanan Date: Thu, 28 Jan 2016 13:54:24 +0000 (+0100) Subject: mon: PG Monitor should report backfill_wait X-Git-Tag: v10.0.4~59^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4c0d1d746625a13f0933e4e6dd0c46b420f94946;p=ceph.git mon: PG Monitor should report backfill_wait Instead of backfill as it is actually waiting for backfill instead of actually backfilling Fixes: #12744 Reported-by: Dan Mick Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index fcf1c591678cc..65f6afdcec60f 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -2060,7 +2060,7 @@ void PGMonitor::get_health(list >& summary, if (p->first & PG_STATE_INCOMPLETE) note["incomplete"] += p->second; if (p->first & PG_STATE_BACKFILL_WAIT) - note["backfill"] += p->second; + note["backfill_wait"] += p->second; if (p->first & PG_STATE_BACKFILL) note["backfilling"] += p->second; if (p->first & PG_STATE_BACKFILL_TOOFULL)