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
This commit is contained in:
Matthew Heler 2018-10-12 10:43:51 -05:00
parent b7c8ba6d81
commit 80e0dfc1b9
1 changed files with 1 additions and 0 deletions

View File

@ -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