Previously the state-to-string path called
deep scrubbing "deep", but the string-to-state
path called it "deep_scrub". Confusing! Also
meant that the "pg ls" help output was wrong
because it uses the state-to-string path.
Signed-off-by: John Spray <john.spray@redhat.com>
type = PG_STATE_STALE;
else if (state == "remapped")
type = PG_STATE_REMAPPED;
- else if (state == "deep_scrub")
+ else if (state == "deep")
type = PG_STATE_DEEP_SCRUB;
else if (state == "backfilling")
type = PG_STATE_BACKFILLING;