]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph.spec.in: use multi-threaded xz compression
authorKefu Chai <kchai@redhat.com>
Wed, 17 Feb 2021 03:25:37 +0000 (11:25 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Feb 2021 03:25:37 +0000 (11:25 +0800)
commitb50fc9e61c39e6f9544b67cb5cd49c67bf6dd02e
treeafc41ca3a6f44203a4e355484ace08f83e3d0c45
parent8c9cf9f7b1967d7b3c7efa1f243ae870fd5ac11a
ceph.spec.in: use multi-threaded xz compression

so we can build the compressed src rpm and binary rpms with smaller
latency.

see also
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.3_release_notes/technology_previews_installation_and_booting

by default, rpm uses

w9.gzdio

which means: gzip level 9. but since xz is able to compress using
multiple threads, let's switch to xz.

xz's default compression level is 6, but ceph's source and binary
packages are relatively large. let's use a higher compression level.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in