]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: key Missing::rmissing on version (not eversion)
authorSage Weil <sage.weil@dreamhost.com>
Wed, 11 May 2011 20:58:09 +0000 (13:58 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Wed, 11 May 2011 20:58:09 +0000 (13:58 -0700)
commit82f9a923ea24b68b883dc8f6ebc85b2a36ebfaf8
tree0bd0664255772906b89f627b784ebedbe7d542bf
parent0f42099ae73809fbf509ef3c6e3df284397c2154
osd: key Missing::rmissing on version (not eversion)

This switches the key to the uint64_t (version_t) only, which is still
unique given a particular timeline (which is all we care about given a
particular Missing::missing).  The last_requested pointer is updated
accordingly.

This will facilitate a hack to make PGLS work for degraded PGs (by using
the rmissing version offset as a cookie).

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