Skip to content

compressor/zstd: add zstd compression plugin - #13075

Merged
tchaikov merged 2 commits into
ceph:masterfrom
tchaikov:wip-zstd
Jan 26, 2017
Merged

tchaikov merged 2 commits into
ceph:masterfrom
tchaikov:wip-zstd

Conversation

@tchaikov

Copy link
Copy Markdown
Contributor

No description provided.

@liewegas

Copy link
Copy Markdown
Member

retest this please

@tchaikov

Copy link
Copy Markdown
Contributor Author
/home/jenkins-build/build/workspace/ceph-pull-requests/qa/workunits/cephtool/test.sh:32: expect_false:  ceph osd pool set real-tier cache_target_dirty_ratio -.2
Traceback (most recent call last):
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/build/bin/ceph", line 106, in <module>
    import rados
ImportError: libceph-common.so: cannot map zero-fill pages: Cannot allocate memory

retest this please.

@liewegas

liewegas commented Jan 24, 2017 via email

Copy link
Copy Markdown
Member

@tchaikov

tchaikov commented Jan 24, 2017 •

Copy link
Copy Markdown
Contributor Author

@liewegas included ceph/ceph-ci@f8ef7f6 .

@liewegas

Copy link
Copy Markdown
Member

the debian build fails:

-- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/lib/ceph/compressor/libceph_zlib.so.2.0.0
-- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/lib/ceph/compressor/libceph_zlib.so.2
-- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/lib/ceph/compressor/libceph_zlib.so
-- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/include/zstd.h
-- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/include/zbuff.h
-- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/include/zdict.h
-- Installing: /build/ceph-11.1.0-6995-gf8ef7f6/debian/tmp/usr/local/lib/libzstd.a
CMake Error at src/compressor/zstd/lib/cmake_install.cmake:78 (file):
  file INSTALL cannot find
  "/build/ceph-11.1.0-6995-gf8ef7f6/obj-x86_64-linux-gnu/src/compressor/zstd/lib/libzstd.1.1.1024.so".
Call Stack (most recent call first):
  src/compressor/zstd/cmake_install.cmake:37 (include)
  src/compressor/cmake_install.cmake:39 (include)
  src/cmake_install.cmake:387 (include)
  cmake_install.cmake:37 (include)
  

@tchaikov tchaikov self-assigned this Jan 24, 2017
@tchaikov tchaikov changed the title compressor/zstd: add zstd compression plugin [DNM] compressor/zstd: add zstd compression plugin Jan 24, 2017
@tchaikov tchaikov removed the needs-qa label Jan 24, 2017
Comment thread src/compressor/zstd/CMakeLists.txt Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from the build log:

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_COMPILER_ARGS

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbodley fixed and repushed.

@tchaikov tchaikov changed the title [DNM] compressor/zstd: add zstd compression plugin compressor/zstd: add zstd compression plugin Jan 24, 2017
@tchaikov

tchaikov commented Jan 25, 2017 •

Copy link
Copy Markdown
Contributor Author

changelog

  • do not set the build directory to "current binary dir" of "src/compressor/zstd". by sharing the build directory, "make install" will always tries to use the libzstd's Makefile created by its CMakeLists.txt. this prevents the INSTALL_COMMAND "true" overriding from working.

pushed to https://shaman.ceph.com/builds/ceph/wip-zstd/, let's see if it builds.

@tchaikov

Copy link
Copy Markdown
Contributor Author
/home/jenkins-build/build/workspace/ceph-pull-requests/qa/workunits/ceph-helpers.sh:1151: wait_for_clean:  return 1
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/erasure-code/test-erasure-eio.sh:137: rados_put_get:  return 1
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/erasure-code/test-erasure-eio.sh:172: rados_get_data_eio:  return 1
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/erasure-code/test-erasure-eio.sh:313: TEST_rados_get_with_subreadall_eio_shard_0:  return 1
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/erasure-code/test-erasure-eio.sh:38: run:  return 1

https://jenkins.ceph.com/job/ceph-pull-requests/17475/consoleFull#27421202540526d21-3511-427d-909c-dd086c0d1034
retest this please.

@tchaikov

Copy link
Copy Markdown
Contributor Author
Assert because (miter != peer_missing.end())
Indication 2 

test failed due to a known issue already got fixed on master.

Signed-off-by: Sage Weil <[email protected]>
Build/link of zstd itself is maybe not ideal, but it works fine.

Signed-off-by: Sage Weil <[email protected]>
Signed-off-by: Kefu Chai <[email protected]>
@tchaikov

Copy link
Copy Markdown
Contributor Author

rebased against master.

@tchaikov
tchaikov merged commit c443c2c into ceph:master Jan 26, 2017
@tchaikov
tchaikov deleted the wip-zstd branch January 26, 2017 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants