]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Handle omap and data digests independently
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:43:38 +0000 (10:43 -0700)
commit01f9669928abd571e14421a51a749d44fa041337
treed8b4f1641df738014bb08283815b5f7b933994df
parent6adeaed32f70923d012bf9410bfa8651694be3cf
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>
src/osd/PGBackend.cc