From fbfd38c475eb7ee67826f5bd29e2e540ca3365b9 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Tue, 31 May 2016 19:37:09 +0800 Subject: [PATCH] osd: rename "wait_backfill" to "backfill_wait" We use "backfill_wait" everywhere except this one. Signed-off-by: xie xingguo --- doc/dev/osd_internals/recovery_reservation.rst | 2 +- src/osd/osd_types.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dev/osd_internals/recovery_reservation.rst b/doc/dev/osd_internals/recovery_reservation.rst index edbf4c9fa676..24db1387f50d 100644 --- a/doc/dev/osd_internals/recovery_reservation.rst +++ b/doc/dev/osd_internals/recovery_reservation.rst @@ -62,7 +62,7 @@ to the monitor. The state chart can set: - recovery_wait: waiting for local/remote reservations - recovering: recovering - - wait_backfill: waiting for remote backfill reservations + - backfill_wait: waiting for remote backfill reservations - backfilling: backfilling - backfill_toofull: backfill reservation rejected, OSD too full diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index 9ccdf672db2a..0a5b8f92fafd 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -824,7 +824,7 @@ std::string pg_state_string(int state) oss << "repair+"; if ((state & PG_STATE_BACKFILL_WAIT) && !(state &PG_STATE_BACKFILL)) - oss << "wait_backfill+"; + oss << "backfill_wait+"; if (state & PG_STATE_BACKFILL) oss << "backfilling+"; if (state & PG_STATE_BACKFILL_TOOFULL) -- 2.47.3