]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: rename "wait_backfill" to "backfill_wait" 9394/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 31 May 2016 11:37:09 +0000 (19:37 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 3 Jun 2016 09:52:52 +0000 (17:52 +0800)
We use "backfill_wait" everywhere except this one.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
doc/dev/osd_internals/recovery_reservation.rst
src/osd/osd_types.cc

index edbf4c9fa676d8a3145ed6ed7fa6bf330c1ff708..24db1387f50de2ae67e95aed449a07f239802c9e 100644 (file)
@@ -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
 
index 9ccdf672db2a0eb6e980ab1e7eeed05fedf09357..0a5b8f92fafdeae0927c7365738c443575e6488f 100644 (file)
@@ -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)