From ef0a13554ccba91da0af67c8976944a5ea75407d Mon Sep 17 00:00:00 2001 From: SamYaple Date: Fri, 18 Mar 2016 02:48:04 +0000 Subject: [PATCH] Add unmap to cinder for ceph This matches the current default for nova.conf. Use unmap/discard if t is enabled on the hypervisor. This option is new for mitaka. TrivialFix Change-Id: Id94c05e2ec8a65c75ec82afcd4150390f8b87ee2 --- ansible/roles/cinder/templates/cinder.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index ee8c018065..9a64347551 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -83,5 +83,6 @@ rbd_store_chunk_size = 4 rados_connect_timeout = -1 rbd_user = cinder rbd_secret_uuid = {{ rbd_secret_uuid }} +report_discard_supported = True {% endif %}