From: Sage Weil Date: Thu, 21 Sep 2017 14:28:59 +0000 (-0400) Subject: osd/osd_types: make BACKFILL <-> "backfilling" for parser X-Git-Tag: v12.2.2~157^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4ff28ab144b3a0adfea8ad8ddee750243c824d14;p=ceph.git osd/osd_types: make BACKFILL <-> "backfilling" for parser We render BACKFILL as "backfilling"; make sure parse works that way too. Signed-off-by: Sage Weil (cherry picked from commit 6fa40e44dc579a009edff7be95d3fd37defbc7f6) --- diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 0d3a310bd917..22939c857a9b 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -886,7 +886,7 @@ int pg_string_state(const std::string& state) type = PG_STATE_REMAPPED; else if (state == "deep_scrub") type = PG_STATE_DEEP_SCRUB; - else if (state == "backfill") + else if (state == "backfilling") type = PG_STATE_BACKFILL; else if (state == "forced_backfill") type = PG_STATE_FORCED_BACKFILL;