]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
upstart/ceph-osd.conf: pass TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES through 7365/head
authorSage Weil <sage@redhat.com>
Tue, 26 Jan 2016 13:43:15 +0000 (08:43 -0500)
committerSage Weil <sage@redhat.com>
Tue, 26 Jan 2016 13:52:53 +0000 (08:52 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a95a3d34cccb9f9f0782a96ca05e5fe9c2b01772)

src/upstart/ceph-osd.conf

index 2438c206f292bc729c15dbe73797090e8d4a568d..76d901694625131c241bb75660771e2734856ca5 100644 (file)
@@ -22,4 +22,8 @@ instance ${cluster:-ceph}/$id
 export cluster
 export id
 
-exec /usr/bin/ceph-osd --cluster="${cluster:-ceph}" -i "$id" -f
+script
+    test -f /etc/default/ceph && . /etc/default/ceph
+    export TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES
+    exec /usr/bin/ceph-osd --cluster="${cluster:-ceph}" -i "$id" -f
+end script