From a5ed377e4e7cdc3d595c4b9698ecc30ab64187b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rnar=20Ness?= Date: Tue, 9 Jun 2015 00:42:01 +0200 Subject: [PATCH] Add rbd_concurrent_management_ops --- group_vars/all | 4 ++++ roles/ceph-common/defaults/main.yml | 4 ++++ roles/ceph-common/templates/ceph.conf.j2 | 1 + 3 files changed, 9 insertions(+) diff --git a/group_vars/all b/group_vars/all index 8746d1ca3..c7edf2957 100644 --- a/group_vars/all +++ b/group_vars/all @@ -59,6 +59,10 @@ dummy: #max_open_files: 131072 #disable_in_memory_logs: true +## Client options +# +rbd_concurrent_management_ops: 20 + ## Monitor options # #monitor_interface: interface diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index c0f21cf8d..05b3b482f 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -70,6 +70,10 @@ debug_osd_level: 20 enable_debug_mds: false debug_mds_level: 20 +## Client options +# +rbd_concurrent_management_ops: 20 + ## Monitor options # monitor_interface: interface diff --git a/roles/ceph-common/templates/ceph.conf.j2 b/roles/ceph-common/templates/ceph.conf.j2 index f576e3968..4082d634b 100644 --- a/roles/ceph-common/templates/ceph.conf.j2 +++ b/roles/ceph-common/templates/ceph.conf.j2 @@ -64,6 +64,7 @@ [client] rbd cache = true rbd cache writethrough until flush = true + rbd concurrent management ops = {{ rbd_concurrent_management_ops }} admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok # must be writable by QEMU and allowed by SELinux or AppArmor log file = {{ rbd_client_log_file }} # must be writable by QEMU and allowed by SELinux or AppArmor