From 29ea4e6f4759a0dc37f193a5aef913415ae23ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 10 Nov 2014 14:50:19 +0100 Subject: [PATCH] Add a client section in the ceph configuration file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In this section we enabled the rbd cache and a socket per client. Signed-off-by: Sébastien Han --- roles/ceph-common/templates/ceph.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) 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 }}