From: Sébastien Han Date: Mon, 10 Nov 2014 13:50:19 +0000 (+0100) Subject: Add a client section in the ceph configuration file X-Git-Tag: v1.0.0~311^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F140%2Fhead;p=ceph-ansible.git Add a client section in the ceph configuration file In this section we enabled the rbd cache and a socket per client. Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-common/templates/ceph.conf.j2 b/roles/ceph-common/templates/ceph.conf.j2 index 0b30ba839..558962ff1 100644 --- a/roles/ceph-common/templates/ceph.conf.j2 +++ b/roles/ceph-common/templates/ceph.conf.j2 @@ -56,6 +56,11 @@ debug_rgw = 0/0 {% endif %} +[client] + rbd cache = true + rbd cache writethrough until flush = true + admin socket = /var/run/ceph/rbd-client-$pid.asok + [mon] mon osd down out interval = {{ mon_osd_down_out_interval }} mon osd min down reporters = {{ mon_osd_min_down_reporters }}