]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: be precise about "known" vs "best guess"
authorSage Weil <sage@redhat.com>
Thu, 26 Mar 2015 20:44:25 +0000 (13:44 -0700)
committerSage Weil <sage@redhat.com>
Tue, 7 Apr 2015 18:42:14 +0000 (11:42 -0700)
commit546d1c7b8224d96d0cc93dc3c96f52787cd69413
tree3c85ca1b25f5fc4d53cc27e7da6b3cb9ea9d11cd
parentc39e0e5f126028f552d410ab6924cac6e1f714fb
osd: be precise about "known" vs "best guess"

We cannot assume that the auth info has the "known" digest; all replicas
may have a matching digest that does not match the oi, or we may choose
a different auth info for some other reason.  Verify that the digest
matches the oi before calling it "known".

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PGBackend.cc