From 80e0dfc1b96ad5294e3675a941fed8650250cacf Mon Sep 17 00:00:00 2001 From: Matthew Heler Date: Fri, 12 Oct 2018 10:43:51 -0500 Subject: [PATCH] Set report_discard_supported to true for the RBD Cinder backend. This enables Ceph discard/trim support with cinder volumes. Note: that you still need to use a paravirtualized storage backend that supports discard/trim (virtio-scsi for example). Change-Id: I7d564ac22ee8faedda0336ee5c67f8312c9f7d06 --- cinder/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/cinder/values.yaml b/cinder/values.yaml index 019938aae0..19289ef589 100644 --- a/cinder/values.yaml +++ b/cinder/values.yaml @@ -835,6 +835,7 @@ conf: rbd_pool: cinder.volumes rbd_ceph_conf: "/etc/ceph/ceph.conf" rbd_flatten_volume_from_snapshot: false + report_discard_supported: true rbd_max_clone_depth: 5 rbd_store_chunk_size: 4 rados_connect_timeout: -1