]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Handle omap and data digests independently 22375/head
authorDavid Zafman <dzafman@redhat.com>
Thu, 31 May 2018 00:18:03 +0000 (17:18 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 31 May 2018 17:58:43 +0000 (10:58 -0700)
commit9e2c4fa4c8e255ffbca82c594d1ec4f099b908b8
tree521f1589db724e8347f776d0eaec347394b045ea
parente92fd7c6e59de5e065b5aae291a4d7fec1fde492
osd: Handle omap and data digests independently

Caused by: be078c8b7b131764caa28bc44452b8c5c2339623
The original attempt above to fix the omap_digest handling when
data_digest isn't present had 2 errors.  First, it checked
is_data_digest() and is_omap_digest() instead of digest_present and
omap_digest_present which indicate the source digest is available.
Second, MAYBE could only be set if both digests are available.

Fixes: http://tracker.ceph.com/issues/24366
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 01f9669928abd571e14421a51a749d44fa041337)
src/osd/PGBackend.cc