]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedBackend: check against empty data_included before enabling crc 29621/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 13 Aug 2019 02:03:27 +0000 (10:03 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 13 Aug 2019 02:03:27 +0000 (10:03 +0800)
commit5958600157c5fa8266b82cd4d448ec2c19f3f062
treef97c7f42c9a5ebbea0c3fae2a447915ddd46bb3f
parent801d2f0449f0fe41ee67065c4ac8be47fcca4004
osd/ReplicatedBackend: check against empty data_included before enabling crc

The data_included portion could be empty, e.g., due to there are
too many omap entries and can not be sent in one shot, which as
a result may end up crashing the OSD.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/ReplicatedBackend.cc