]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: do not set data/omap digest blindly 18061/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 30 Sep 2017 08:49:20 +0000 (16:49 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 30 Sep 2017 14:50:52 +0000 (22:50 +0800)
commitbe078c8b7b131764caa28bc44452b8c5c2339623
treec14fe80e1b4b36b6e1c89191b82b95f10c1ffac6
parent1aef50a1edbd2a41e7694ffb61bfd546e5648bf9
osd/PrimaryLogPG: do not set data/omap digest blindly

As bluestore has bulitin csum, we generally no longer generate
object data digest for now. The consequence is that we should
handle data/omap digest more carefully to make certain ops,
such as copy_from/promote, to work properly since they heavily
relies on data digest for data transfer correctness.

Example of failure:
http://pulpito.ceph.com/xxg-2017-09-30_11:46:34-rbd-master-distro-basic-mira/1690609/

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc
src/osd/PG.h
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h