]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
compressor: move QatAccel out of common
authorCasey Bodley <cbodley@redhat.com>
Thu, 23 Nov 2023 04:32:40 +0000 (23:32 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 7 Feb 2024 16:13:21 +0000 (11:13 -0500)
commit5d2560762edca4a9006878b4e654b812f1d7d04d
tree7d0628fa2083f99e7f0ff2eb468d71723a6b747d
parentec2e4b62a932e084d3ff369dbb49b310c3bad886
compressor: move QatAccel out of common

move the QatAccel instance out of the Compressor base class and into
the zlib and lz4 compressors that can use it

this avoids having to link QAT into the ceph-common library, and only
the plugins where it's necessary

had to add LZ4Compressor.cc to store the new static variable

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/CMakeLists.txt
src/compressor/CMakeLists.txt
src/compressor/Compressor.cc
src/compressor/Compressor.h
src/compressor/lz4/CMakeLists.txt
src/compressor/lz4/LZ4Compressor.cc [new file with mode: 0644]
src/compressor/lz4/LZ4Compressor.h
src/compressor/snappy/SnappyCompressor.h
src/compressor/zlib/CMakeLists.txt
src/compressor/zlib/ZlibCompressor.cc
src/compressor/zlib/ZlibCompressor.h