-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git clean -xdf git submodule sync --recursive git submodule update --recursive --init git submodule foreach --recursive git checkout -- . git submodule foreach --recursive git clean -xdf ./make-debs.sh cp /tmp/release/Ubuntu/WORKDIR/*ceph*17.2.5*.{bz2,xz,dsc} /osc/home\:alvistack/ceph-ceph-17.2.5/ cp ceph.spec /osc/home\:alvistack/ceph-ceph-17.2.5/ cp debian/patches/*.patch /osc/home\:alvistack/ceph-ceph-17.2.5/ rm -rf /tmp/release/Ubuntu/WORKDIR See http://archive.ubuntu.com/ubuntu/pool/main/c/ceph/ceph_17.2.5-0ubuntu2.debian.tar.xz See https://src.fedoraproject.org/rpms/ceph/tree/rawhide See https://build.opensuse.org/package/show/filesystems:ceph:quincy:upstream/ceph See ceph#47982 See spdk/spdk#2637 Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
- Loading branch information
Showing
140 changed files
with
3,683 additions
and
3,425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,55 @@ | ||
/*.substvars | ||
/*.debhelper.log | ||
/ceph-common-dbg | ||
/ceph-common | ||
/ceph-fuse-dbg | ||
/ceph-fuse | ||
/ceph-fs-common-dbg | ||
/ceph-fs-common | ||
/ceph-mds-dbg | ||
/ceph-mds | ||
/ceph-mgr-dbg | ||
/ceph-mgr | ||
/ceph-mon-dbg | ||
/ceph-mon | ||
/ceph-osd-dbg | ||
/ceph-osd | ||
/ceph-resource-agents | ||
/ceph.init | ||
/radosgw.init | ||
/ceph.logrotate | ||
/*.debhelper | ||
/ceph | ||
/files | ||
/libcephfs2-dbg | ||
/libcephfs-dev | ||
/libcephfs2 | ||
/librados2-dbg | ||
/librados-dev | ||
/librados2 | ||
/librbd1-dbg | ||
/librbd-dev | ||
/librbd1 | ||
/radosgw-dbg | ||
/radosgw | ||
/python-ceph | ||
/python-rados | ||
/python-rbd | ||
/python-cephfs | ||
/libcephfs-java | ||
/libcephfs-jni | ||
/tmp | ||
*.substvars | ||
*debhelper* | ||
.debhelper | ||
files | ||
tmp | ||
ceph | ||
cephadm | ||
ceph-base | ||
ceph-common | ||
cephfs-mirror | ||
cephfs-shell | ||
ceph-fuse | ||
ceph-grafana-dashboards | ||
ceph-immutable-object-cache | ||
ceph-mds | ||
ceph-mgr | ||
ceph-mgr-cephadm | ||
ceph-mgr-dashboard | ||
ceph-mgr-diskprediction-local | ||
ceph-mgr-k8sevents | ||
ceph-mgr-modules-core | ||
ceph-mgr-rook | ||
ceph-mon | ||
ceph-osd | ||
ceph-prometheus-alerts | ||
ceph-resource-agents | ||
ceph-volume | ||
crimson-osd | ||
libcephfs2 | ||
libcephfs-dev | ||
libcephfs-java | ||
libcephfs-jni | ||
librados2 | ||
librados-dev | ||
libradospp-dev | ||
libradosstriper1 | ||
libradosstriper-dev | ||
librbd1 | ||
librbd-dev | ||
librgw2 | ||
librgw-dev | ||
libsqlite3-mod-ceph | ||
libsqlite3-mod-ceph-dev | ||
python3-ceph | ||
python3-ceph-argparse | ||
python3-ceph-common | ||
python3-cephfs | ||
python3-rados | ||
python3-rbd | ||
python3-rgw | ||
radosgw | ||
rados-objclass-dev | ||
rbd-fuse | ||
rbd-mirror | ||
rbd-nbd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
# | ||
# Simple tool to calculate max parallel jobs based on | ||
# memory of builder. | ||
# | ||
# MDCache.cc generally runs out of RAM in 4G of memory | ||
# with parallel=4 | ||
|
||
total_ram=$(grep MemTotal /proc/meminfo | awk '{ print $2 }') | ||
|
||
sixteen_g=$((16*1024*1024)) | ||
eight_g=$((8*1024*1024)) | ||
four_g=$((4*1024*1024)) | ||
|
||
if [ ${total_ram} -le ${four_g} ]; then | ||
if dpkg-architecture -q DEB_BUILD_ARCH | grep -q -e arm -e mips -e powerpc -e ppc; then | ||
echo "--max-parallel=1" | ||
else | ||
echo "--max-parallel=2" | ||
fi | ||
elif [ ${total_ram} -le ${eight_g} ]; then | ||
echo "--max-parallel=2" | ||
elif [ ${total_ram} -le ${sixteen_g} ]; then | ||
echo "--max-parallel=3" | ||
else | ||
echo "--max-parallel=4" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../src/init-ceph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
var/lib/ceph/bootstrap-mds | ||
var/lib/ceph/bootstrap-mgr | ||
var/lib/ceph/bootstrap-osd | ||
var/lib/ceph/bootstrap-rgw | ||
var/lib/ceph/bootstrap-rbd | ||
var/lib/ceph/bootstrap-rbd-mirror | ||
var/lib/ceph/tmp | ||
var/lib/ceph/bootstrap-rgw | ||
var/lib/ceph/crash | ||
var/lib/ceph/crash/posted | ||
var/lib/ceph/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
README | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
etc/init.d/ceph | ||
## install from source tree | ||
etc/sudoers.d/ceph-smartctl | ||
lib/systemd/system/ceph-crash.service | ||
usr/bin/ceph-crash | ||
usr/bin/ceph-debugpack | ||
usr/bin/ceph-kvstore-tool | ||
usr/bin/ceph-run | ||
usr/bin/crushtool | ||
usr/bin/monmaptool | ||
usr/bin/osdmaptool | ||
usr/bin/ceph-kvstore-tool | ||
usr/libexec/ceph/ceph_common.sh | ||
usr/lib/ceph/erasure-code/* | ||
usr/lib/rados-classes/* | ||
usr/lib/*/ceph/erasure-code/* | ||
usr/lib/*/rados-classes/* | ||
usr/lib/ceph/ceph_common.sh | ||
usr/sbin/ceph-create-keys | ||
usr/share/doc/ceph/sample.ceph.conf | ||
usr/share/man/man8/ceph-create-keys.8 | ||
usr/share/man/man8/ceph-debugpack.8 | ||
usr/share/man/man8/ceph-kvstore-tool.8 | ||
usr/share/man/man8/ceph-run.8 | ||
usr/share/man/man8/crushtool.8 | ||
usr/share/man/man8/monmaptool.8 | ||
usr/share/man/man8/osdmaptool.8 | ||
usr/share/man/man8/ceph-kvstore-tool.8 | ||
etc/sudoers.d/ceph-smartctl |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/sh | ||
# postrm script for ceph | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <postrm> `remove' | ||
# * <postrm> `purge' | ||
# * <old-postrm> `upgrade' <new-version> | ||
# * <new-postrm> `failed-upgrade' <old-version> | ||
# * <new-postrm> `abort-install' | ||
# * <new-postrm> `abort-install' <old-version> | ||
# * <new-postrm> `abort-upgrade' <old-version> | ||
# * <disappearer's-postrm> `disappear' <overwriter> | ||
# <overwriter-version> | ||
# for details, see http://www.debian.org/doc/debian-policy/ or | ||
# the debian-policy package | ||
|
||
|
||
case "$1" in | ||
remove) | ||
;; | ||
|
||
purge) | ||
rm -rf /var/log/ceph | ||
rm -rf /etc/ceph | ||
;; | ||
|
||
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | ||
;; | ||
|
||
*) | ||
echo "postrm called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
dpkg-maintscript-helper rm_conffile \ | ||
/etc/logrotate.d/ceph-base 10.2.3-0ubuntu5~ -- "$@" | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
dpkg-maintscript-helper rm_conffile \ | ||
/etc/logrotate.d/ceph-base 10.2.3-0ubuntu5~ -- "$@" | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.