]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: reset last_complete on mark_all_unfound_as_lost if no more missing
authorSage Weil <sage.weil@dreamhost.com>
Sat, 7 May 2011 20:21:34 +0000 (13:21 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Mon, 9 May 2011 23:01:49 +0000 (16:01 -0700)
commit8e1e45c060f2a03e254f5a32e671f972c9af74fd
tree7d8f136d7f34cc78e920f46f1d0a746e2c89f711
parent0ac419e06472c084516b929c6ae91e4e9c7047e9
osd: reset last_complete on mark_all_unfound_as_lost if no more missing

If we marked _all_ missing as lost, reset last_complete, since missing is
now empty!

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.cc