]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: introduce RECOVERING pg state
authorSage Weil <sage@newdream.net>
Fri, 17 Feb 2012 18:55:12 +0000 (10:55 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 17 Feb 2012 18:56:58 +0000 (10:56 -0800)
commit8c0e184c50085418ce2acafb11dcd5adcc0a3a1d
tree89a320f2aaa21dab6791e26f003273580656f7d1
parent07504607e3f3136ecec9eccae37d9e7f856b329c
osd: introduce RECOVERING pg state

Since clean now means not degraded, we need some other indication that
recovery has completed and we are "done" (given the current up/down state
of the OSDs).

Adding a 'recovering' state also makes it clearer to users that work is
being done, as opposed to the current situation, where they look for the
absense of 'clean'.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/PG.cc
src/osd/osd_types.cc
src/osd/osd_types.h