]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: set and invalidate data/omap digests on osd ops
authorSage Weil <sage@redhat.com>
Mon, 3 Nov 2014 01:11:45 +0000 (17:11 -0800)
committerSage Weil <sage@redhat.com>
Sat, 20 Dec 2014 15:16:21 +0000 (07:16 -0800)
commit056de0924b18804799f41cf802974da9f62ccf44
tree70ab726d36509a56fd1360e68f06856c26d19894
parent3f7b2cf52f5aeb3a26e5bf5b4b61a233c5e7f8b6
osd/ReplicatedPG: set and invalidate data/omap digests on osd ops

When we create an empty object, we have a known digest of -1.  In a few
cases, we also know the digest from the op (e.g., writefull).  The rest
of the time we invalidate any existing digest.

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