]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Add a client section in the ceph configuration file 140/head
authorSébastien Han <sebastien.han@enovance.com>
Mon, 10 Nov 2014 13:50:19 +0000 (14:50 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Mon, 10 Nov 2014 13:50:19 +0000 (14:50 +0100)
In this section we enabled the rbd cache and a socket per client.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
roles/ceph-common/templates/ceph.conf.j2

index 0b30ba8396ba9e3d8213fd6390c650ed84796a87..558962ff1bd8df641145db6a5bbd0d2607499638 100644 (file)
   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 }}