]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
upstart/ceph-osd.conf: pass TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES through 7304/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:43:15 +0000 (08:43 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/upstart/ceph-osd.conf

index 02ca2389a17b5b2e56861cf261e1aae9d07c74bd..dfba8d486a392d214453efa74c8a0b2138913df5 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 --setuser ceph --setgroup ceph
+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 --setuser ceph --setgroup ceph
+end script