]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: clear data digest on WRITEFULL if skip_data_digest 21676/head
authorSage Weil <sage@redhat.com>
Thu, 26 Apr 2018 14:15:50 +0000 (09:15 -0500)
committerSage Weil <sage@redhat.com>
Thu, 26 Apr 2018 14:15:50 +0000 (09:15 -0500)
commitfe5038c7f9577327f82913b4565712c53903ee48
tree7c50657dd1a8149dc9a77786c2d9c0265b9e7f65
parent52edad1e2392e9e591933d70cf8eba30185e1671
osd/PrimaryLogPG: clear data digest on WRITEFULL if skip_data_digest

If we detect we are on bluestore and should skip the data digest, we
need to clear any old digest on WRITEFULL.  This aligns us with the
WRITE behavior, which is also either an update or a clear (but never
neither!).

Fixes: https://tracker.ceph.com/issues/23871
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc