]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: PG Monitor should report backfill_wait
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 28 Jan 2016 13:54:24 +0000 (14:54 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 2 Feb 2016 16:03:33 +0000 (17:03 +0100)
Instead of backfill as it is actually waiting for backfill instead of
actually backfilling

Fixes: #12744
Reported-by: Dan Mick <dmick@redhat.com>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/mon/PGMonitor.cc

index fcf1c591678cc9fb346421de67fd936f539c4b91..65f6afdcec60f745dd00b776d8ba211067ad4d29 100644 (file)
@@ -2060,7 +2060,7 @@ void PGMonitor::get_health(list<pair<health_status_t,string> >& 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)