]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/compressor: fix the issue that read more data
authorFeng Hualong <hualong.feng@intel.com>
Fri, 1 Apr 2022 09:09:41 +0000 (17:09 +0800)
committerFeng Hualong <hualong.feng@intel.com>
Wed, 1 Jun 2022 15:13:37 +0000 (23:13 +0800)
commitd8027c7d3433f34c2cbdf99732f0f421d8443cca
treea2172983c296f0d4192b3514f82fb4400e9c1715
parent6abcf97a8ca116f3d22361524a02830032969d37
common/compressor: fix the issue that read more data

QAT decompression may read more data when object size is less
than 4k. So there use another way to get data.

And We should keep win_size within compressor_message,
So QAT compress is compatible for software compress.

Signed-off-by: Feng Hualong <hualong.feng@intel.com>
src/compressor/QatAccel.cc
src/compressor/zlib/ZlibCompressor.cc