]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: record digest if object is clean (vs entire scrub chunk)
authorSage Weil <sage@redhat.com>
Thu, 26 Mar 2015 20:24:11 +0000 (13:24 -0700)
committerDavid Zafman <dzafman@redhat.com>
Tue, 4 Aug 2015 14:39:00 +0000 (07:39 -0700)
commit4e5d146ad36ef0380eb72e45dca651494658aeeb
treecaaf2a554450c6bf4468d3c09d7e585fb8f98cb7
parent88e7ee716fdd7bcf81845087021a677de5a50da8
osd: record digest if object is clean (vs entire scrub chunk)

If an individual object is clean, record it in the missing_digest map.
If not, leave it out.  This lets us drop the old condition that only
recorded any digests if the entire scrub chunk was clean.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c39e0e5f126028f552d410ab6924cac6e1f714fb)
src/osd/PGBackend.cc
src/osd/ReplicatedPG.cc