summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2015-09-05 15:14:15 +0200
committerSage Weil <sage@redhat.com>2015-09-11 17:38:26 +0200
commit7384a14f243519547a61534d22e21e6069aae016 (patch)
tree3a3635fc2b142955dbba64a800887a0873956277 /etc
parentMakefile.am: include etc in tarball (diff)
downloadceph-7384a14f243519547a61534d22e21e6069aae016.tar.xz
ceph-7384a14f243519547a61534d22e21e6069aae016.zip
debian/rules: install systemd files and /etc/default/ceph
Fix the systemd units to use /etc/default instead of /etc/sysconfig. There is probably a better way... Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/default/ceph12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/default/ceph b/etc/default/ceph
new file mode 100644
index 00000000000..6d6f40ec571
--- /dev/null
+++ b/etc/default/ceph
@@ -0,0 +1,12 @@
+# /etc/default/ceph
+#
+# Environment file for ceph daemon systemd unit files.
+#
+
+## use jemalloc instead of tcmalloc
+#
+# jemalloc is generally faster for small IO workloads and when
+# ceph-osd is backed by SSDs. However, memory usage is usually
+# higher by 200-300mb.
+#
+#LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1